Skip to content

Commit

Permalink
! spec
Browse files Browse the repository at this point in the history
  • Loading branch information
floere committed Jul 2, 2011
1 parent ca9e3a3 commit b413b3a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions server/spec/lib/internals/indexing/category_spec.rb
Expand Up @@ -96,6 +96,7 @@

describe 'generate_caches' do
it 'should call multiple methods in order' do
category.should_receive(:configure).once.with().ordered
category.should_receive(:generate_caches_from_source).once.with().ordered
category.should_receive(:generate_partial).once.with().ordered
category.should_receive(:generate_caches_from_memory).once.with().ordered
Expand Down Expand Up @@ -168,11 +169,6 @@

category.cache!
end
it "configures" do
category.should_receive(:configure).once.with

category.cache!
end
it "tells the indexer to index" do
category.should_receive(:generate_caches).once.with

Expand Down

0 comments on commit b413b3a

Please sign in to comment.