Skip to content

Commit

Permalink
Remove duplicate spec
Browse files Browse the repository at this point in the history
  • Loading branch information
vanstee committed Jun 8, 2012
1 parent 014e4ec commit 61f0828
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sunspot_rails/spec/stub_session_proxy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@
Post.search
end

it 'should not execute a search when #search called' do
@session.should_not_receive(:search)
Post.search
end

it 'should not execute a search when #search called with parameters' do
@session.should_not_receive(:search)
Post.search(:include => :blog, :select => 'id, title')
Expand Down

0 comments on commit 61f0828

Please sign in to comment.