spec/lib/query/combination_spec.rb in picky-3.6.10 vs spec/lib/query/combination_spec.rb in picky-3.6.11

- old
+ new

@@ -17,17 +17,17 @@ describe "to_s" do it "shows the combination's info" do @token.stub! :to_result => :token_result - @combination.to_s.should == 'bundle_name some_category_name:token_result' + @combination.to_s.should == 'bundle_name(some_category_name:token_result)' end end describe 'hash' do it 'should hash the token and the bundle' do - @combination.hash.should == [@token.to_s, @category].hash + @combination.hash.should == [@token, @category].hash end end describe 'to_result' do context 'functional with qualifier' do @@ -47,10 +47,10 @@ end end describe 'identifier' do it 'should get the category name from the bundle' do - @combination.identifier.should == "bundle_name:similarity:some_text" + @combination.identifier.should == "bundle_name:inverted:some_text" end end describe 'ids' do it 'should call ids with the text on bundle' do \ No newline at end of file