mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[bundler/bundler] More specific assertion
1.0.0 is such a common output, and it was hiding a crash in the test. https://github.com/bundler/bundler/commit/c688337e24
This commit is contained in:
parent
13e5bf3454
commit
05c3b7c8a9
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ RSpec.describe "bundle exec" do
|
|||
|
||||
bundle "exec 'cd #{tmp("gems")} && rackup'"
|
||||
|
||||
expect(out).to include("1.0.0")
|
||||
expect(out).to eq("1.0.0")
|
||||
end
|
||||
|
||||
it "works when exec'ing something else" do
|
||||
|
@ -458,7 +458,7 @@ RSpec.describe "bundle exec" do
|
|||
it "works when locked" do
|
||||
expect(the_bundle).to be_locked
|
||||
bundle "exec 'cd #{tmp("gems")} && rackup'"
|
||||
expect(out).to include("1.0.0")
|
||||
expect(out).to eq("1.0.0")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue