diff options
Diffstat (limited to 'spec/bundler/commands/clean_spec.rb')
-rw-r--r-- | spec/bundler/commands/clean_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/commands/clean_spec.rb b/spec/bundler/commands/clean_spec.rb index 3a4b638278..f0c506aa04 100644 --- a/spec/bundler/commands/clean_spec.rb +++ b/spec/bundler/commands/clean_spec.rb @@ -379,7 +379,7 @@ RSpec.describe "bundle clean" do gem "rack" G - gem_command! :list + gem_command :list expect(out).to include("rack (1.0.0)").and include("thin (1.0)") end @@ -507,7 +507,7 @@ RSpec.describe "bundle clean" do end bundle :update, :all => true - gem_command! :list + gem_command :list expect(out).to include("foo (1.0.1, 1.0)") end @@ -531,7 +531,7 @@ RSpec.describe "bundle clean" do bundle "clean --force" expect(out).to include("Removing foo (1.0)") - gem_command! :list + gem_command :list expect(out).not_to include("foo (1.0)") expect(out).to include("rack (1.0.0)") end @@ -565,7 +565,7 @@ RSpec.describe "bundle clean" do expect(err).to include(system_gem_path.to_s) expect(err).to include("grant write permissions") - gem_command! :list + gem_command :list expect(out).to include("foo (1.0)") expect(out).to include("rack (1.0.0)") end |