summaryrefslogtreecommitdiff
path: root/spec/bundler/source_spec.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-02-05 16:30:10 +0200
committerAndre Arko <andre@arko.net>2014-02-05 16:30:25 +0200
commit64866592ed3272a3fb57c2e5adc306310e7539e6 (patch)
tree81e02ee33180f4be0a6ab7b6caf645fc62fcd91a /spec/bundler/source_spec.rb
parent49fb92fdfa3eddad1642aea681ed60f24c5105f7 (diff)
downloadbundler-64866592ed3272a3fb57c2e5adc306310e7539e6.tar.gz
rspec 3 expectations
Diffstat (limited to 'spec/bundler/source_spec.rb')
-rw-r--r--spec/bundler/source_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/source_spec.rb b/spec/bundler/source_spec.rb
index c51d4b9925..0d49660317 100644
--- a/spec/bundler/source_spec.rb
+++ b/spec/bundler/source_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
describe Bundler::Source::Rubygems do
before do
- Bundler.stub(:root){ Pathname.new("root") }
+ allow(Bundler).to receive(:root){ Pathname.new("root") }
end
describe "caches" do