Skip to content

Commit 7443855

Browse files
Rspec failure fixes
1 parent c1577b3 commit 7443855

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hex/spec/dependabot/hex/update_checker_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,9 @@
733733

734734
it "raises a helpful error" do
735735
expect { latest_resolvable_version }
736-
.to raise_error(Dependabot::SharedHelpers::HelperSubprocessFailed)
736+
.to raise_error(Dependabot::DependencyFileNotResolvable) do |error|
737+
expect(error.message).to include("No output returned from helper script")
738+
end
737739
end
738740
end
739741

0 commit comments

Comments
 (0)