diff options
Diffstat (limited to 'spec/commands/config_spec.rb')
-rw-r--r-- | spec/commands/config_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/config_spec.rb b/spec/commands/config_spec.rb index 84f882b410..0ecd61183b 100644 --- a/spec/commands/config_spec.rb +++ b/spec/commands/config_spec.rb @@ -430,7 +430,7 @@ E bundle "config set --global --local foo 5" expect(last_command).to be_failure - expect(last_command.bundler_err).to eq "The options global and local were specified. Please only use one of the switches at a time." + expect(err).to eq "The options global and local were specified. Please only use one of the switches at a time." end it "unset" do @@ -470,7 +470,7 @@ E bundle "config unset foo --local --global" expect(last_command).to be_failure - expect(last_command.bundler_err).to eq "The options global and local were specified. Please only use one of the switches at a time." + expect(err).to eq "The options global and local were specified. Please only use one of the switches at a time." end end end |