summaryrefslogtreecommitdiff
path: root/spec/bundler/bundler_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/bundler_spec.rb')
-rw-r--r--spec/bundler/bundler_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/bundler_spec.rb b/spec/bundler/bundler_spec.rb
index cf6de26ac3..1b72f7fd42 100644
--- a/spec/bundler/bundler_spec.rb
+++ b/spec/bundler/bundler_spec.rb
@@ -156,7 +156,7 @@ describe Bundler do
describe "#rm_rf" do
context "the directory is world writable" do
let(:bundler_ui) { Bundler.ui }
- it "should show a fridenly error" do
+ it "should raise a friendly error" do
allow(File).to receive(:exist?).and_return(true)
allow(FileUtils).to receive(:remove_entry_secure).and_raise(ArgumentError)
allow(File).to receive(:world_writable?).and_return(true)