Skip to content

Commit

Permalink
Remove deprecated file.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Jul 23, 2013
1 parent e30f739 commit 4c43009
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions lib/spec/mocks.rb

This file was deleted.

7 changes: 0 additions & 7 deletions spec/rspec/mocks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,4 @@
expect(RSpec::Mocks.configuration).to be(RSpec::Mocks.configuration)
end
end

context 'when requiring spec/mocks (as was valid for rspec 1)' do
it 'prints a deprecation warning' do
expect(::RSpec).to receive(:deprecate).with("require 'spec/mocks'", :replacement => "require 'rspec/mocks'")
load "spec/mocks.rb"
end
end
end

0 comments on commit 4c43009

Please sign in to comment.