diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-06-19 15:49:39 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-03 09:29:57 +0900 |
commit | d8cd45cb1a459f8e82f055d8c2d335f57962dc31 (patch) | |
tree | 7d2f126877e497cec1cd706aed6f1c7fe18f47e8 /spec/bundler/commands | |
parent | ff908983be80f718497e32e60d24ac9b820df52c (diff) | |
download | ruby-d8cd45cb1a459f8e82f055d8c2d335f57962dc31.tar.gz |
[bundler/bundler] Refactor some specs
https://github.com/bundler/bundler/commit/785c7af1f3
Diffstat (limited to 'spec/bundler/commands')
-rw-r--r-- | spec/bundler/commands/lock_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/commands/lock_spec.rb b/spec/bundler/commands/lock_spec.rb index 5735b6c060..1d9813a835 100644 --- a/spec/bundler/commands/lock_spec.rb +++ b/spec/bundler/commands/lock_spec.rb @@ -284,7 +284,7 @@ RSpec.describe "bundle lock" do simulate_platform(mingw) { bundle! :lock } - expect(the_bundle.lockfile).to read_as(strip_whitespace(<<-G)) + lockfile_should_be <<-G GEM remote: #{file_uri_for(gem_repo4)}/ specs: @@ -309,7 +309,7 @@ RSpec.describe "bundle lock" do simulate_platform(rb) { bundle! :lock } - expect(the_bundle.lockfile).to read_as(strip_whitespace(<<-G)) + lockfile_should_be <<-G GEM remote: #{file_uri_for(gem_repo4)}/ specs: |