spec/lib/query/combinations/redis_spec.rb in picky-3.0.0.pre5 vs spec/lib/query/combinations/redis_spec.rb in picky-3.0.0
- old
+ new
@@ -69,10 +69,10 @@
end
describe "weighted_score" do
it "uses the weights' score method" do
weights = stub :weights
- weights.should_receive(:score).once.with @combinations_ary
+ weights.should_receive(:score_for).once.with @combinations_ary
@combinations.weighted_score weights
end
end
\ No newline at end of file