diff options
Diffstat (limited to 'spec/install/gems/sudo_spec.rb')
| -rw-r--r-- | spec/install/gems/sudo_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/gems/sudo_spec.rb b/spec/install/gems/sudo_spec.rb index 3e833960e2..e8145161b7 100644 --- a/spec/install/gems/sudo_spec.rb +++ b/spec/install/gems/sudo_spec.rb @@ -147,7 +147,7 @@ describe "when using sudo", :sudo => true do it "warns against that" do gemfile %|source "file://#{gem_repo1}"| bundle :install, :sudo => true - expect(out).to include("Don't run Bundler as root.") + expect(out.gsub("\n", " ")).to include("you must also run your application as root") end end |
