mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
ff908983be
commit
d8cd45cb1a
2 changed files with 9 additions and 9 deletions
|
|
@ -284,7 +284,7 @@ RSpec.describe "bundle lock" do
|
||||||
|
|
||||||
simulate_platform(mingw) { bundle! :lock }
|
simulate_platform(mingw) { bundle! :lock }
|
||||||
|
|
||||||
expect(the_bundle.lockfile).to read_as(strip_whitespace(<<-G))
|
lockfile_should_be <<-G
|
||||||
GEM
|
GEM
|
||||||
remote: #{file_uri_for(gem_repo4)}/
|
remote: #{file_uri_for(gem_repo4)}/
|
||||||
specs:
|
specs:
|
||||||
|
|
@ -309,7 +309,7 @@ RSpec.describe "bundle lock" do
|
||||||
|
|
||||||
simulate_platform(rb) { bundle! :lock }
|
simulate_platform(rb) { bundle! :lock }
|
||||||
|
|
||||||
expect(the_bundle.lockfile).to read_as(strip_whitespace(<<-G))
|
lockfile_should_be <<-G
|
||||||
GEM
|
GEM
|
||||||
remote: #{file_uri_for(gem_repo4)}/
|
remote: #{file_uri_for(gem_repo4)}/
|
||||||
specs:
|
specs:
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ RSpec.describe "bundle install across platforms" do
|
||||||
gem "pry"
|
gem "pry"
|
||||||
G
|
G
|
||||||
|
|
||||||
expect(the_bundle.lockfile).to read_as strip_whitespace(<<-L)
|
lockfile_should_be <<-L
|
||||||
GEM
|
GEM
|
||||||
remote: #{file_uri_for(gem_repo4)}/
|
remote: #{file_uri_for(gem_repo4)}/
|
||||||
specs:
|
specs:
|
||||||
|
|
@ -160,7 +160,7 @@ RSpec.describe "bundle install across platforms" do
|
||||||
#{Bundler::VERSION}
|
#{Bundler::VERSION}
|
||||||
L
|
L
|
||||||
|
|
||||||
expect(the_bundle.lockfile).to read_as good_lockfile
|
lockfile_should_be good_lockfile
|
||||||
|
|
||||||
bad_lockfile = strip_whitespace <<-L
|
bad_lockfile = strip_whitespace <<-L
|
||||||
GEM
|
GEM
|
||||||
|
|
@ -196,23 +196,23 @@ RSpec.describe "bundle install across platforms" do
|
||||||
aggregate_failures do
|
aggregate_failures do
|
||||||
lockfile bad_lockfile
|
lockfile bad_lockfile
|
||||||
bundle! :install
|
bundle! :install
|
||||||
expect(the_bundle.lockfile).to read_as good_lockfile
|
lockfile_should_be good_lockfile
|
||||||
|
|
||||||
lockfile bad_lockfile
|
lockfile bad_lockfile
|
||||||
bundle! :update, :all => true
|
bundle! :update, :all => true
|
||||||
expect(the_bundle.lockfile).to read_as good_lockfile
|
lockfile_should_be good_lockfile
|
||||||
|
|
||||||
lockfile bad_lockfile
|
lockfile bad_lockfile
|
||||||
bundle! "update ffi"
|
bundle! "update ffi"
|
||||||
expect(the_bundle.lockfile).to read_as good_lockfile
|
lockfile_should_be good_lockfile
|
||||||
|
|
||||||
lockfile bad_lockfile
|
lockfile bad_lockfile
|
||||||
bundle! "update empyrean"
|
bundle! "update empyrean"
|
||||||
expect(the_bundle.lockfile).to read_as good_lockfile
|
lockfile_should_be good_lockfile
|
||||||
|
|
||||||
lockfile bad_lockfile
|
lockfile bad_lockfile
|
||||||
bundle! :lock
|
bundle! :lock
|
||||||
expect(the_bundle.lockfile).to read_as good_lockfile
|
lockfile_should_be good_lockfile
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue