diff options
author | Andre Arko <andre@arko.net> | 2014-02-05 16:30:10 +0200 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-02-05 16:30:25 +0200 |
commit | 64866592ed3272a3fb57c2e5adc306310e7539e6 (patch) | |
tree | 81e02ee33180f4be0a6ab7b6caf645fc62fcd91a /spec/bundler/source_spec.rb | |
parent | 49fb92fdfa3eddad1642aea681ed60f24c5105f7 (diff) | |
download | bundler-64866592ed3272a3fb57c2e5adc306310e7539e6.tar.gz |
rspec 3 expectations
Diffstat (limited to 'spec/bundler/source_spec.rb')
-rw-r--r-- | spec/bundler/source_spec.rb | 2 |
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 |