spec/install_spec.rb in rubygems-tasks-0.2.4 vs spec/install_spec.rb in rubygems-tasks-0.2.5

- old
+ new

@@ -6,10 +6,10 @@ describe Gem::Tasks::Install do describe "#install" do let(:path) { 'pkg/foo-1.2.3.gem' } it "should use `gem install -q`" do - subject.should_receive(:run).with('gem', 'install', '-q', path) + expect(subject).to receive(:run).with('gem', 'install', '-q', path) subject.install(path) end end end