Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
! bundle specs
  • Loading branch information
floere committed Oct 21, 2010
1 parent c65a460 commit 6aeab88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/spec/lib/index/bundle_spec.rb
Expand Up @@ -14,7 +14,7 @@

describe 'identifier' do
it 'should return a specific identifier' do
@index.identifier.should == 'some_name:some_type:some_category'
@index.identifier.should == 'some_name: some_type some_category'
end
end

Expand Down Expand Up @@ -141,7 +141,7 @@
it 'should raise' do
lambda do
@index.raise_unless_cache_exists
end.should raise_error("weights cache for some_name:some_type:some_category missing.")
end.should raise_error("weights cache for some_name: some_type some_category missing.")
end
end
context 'similarity cache missing' do
Expand All @@ -153,7 +153,7 @@
it 'should raise' do
lambda do
@index.raise_unless_cache_exists
end.should raise_error("similarity cache for some_name:some_type:some_category missing.")
end.should raise_error("similarity cache for some_name: some_type some_category missing.")
end
end
context 'index cache missing' do
Expand All @@ -165,7 +165,7 @@
it 'should raise' do
lambda do
@index.raise_unless_cache_exists
end.should raise_error("index cache for some_name:some_type:some_category missing.")
end.should raise_error("index cache for some_name: some_type some_category missing.")
end
end
context 'all ok' do
Expand Down

0 comments on commit 6aeab88

Please sign in to comment.