Skip to content

Commit

Permalink
! Create test directory before trying to load
Browse files Browse the repository at this point in the history
  • Loading branch information
floere committed Jan 31, 2013
1 parent 47ca278 commit c3a123f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/spec/lib/bundle_indexed_spec.rb
Expand Up @@ -102,6 +102,9 @@
end end


describe 'load' do describe 'load' do
before(:each) do
@bundle.dump # Create an index first.
end
it 'should trigger loads' do it 'should trigger loads' do
@bundle.should_receive(:load_inverted).once.with @bundle.should_receive(:load_inverted).once.with
@bundle.should_receive(:load_weights).once.with @bundle.should_receive(:load_weights).once.with
Expand Down

0 comments on commit c3a123f

Please sign in to comment.