spec/endeca/refinement_spec.rb in primedia-endeca-0.9.22 vs spec/endeca/refinement_spec.rb in primedia-endeca-0.9.23
- old
+ new
@@ -51,11 +51,11 @@
@refinement.stub!(:name).and_return('A Name')
@refinement.inspect.should include('name="A Name"')
end
end
- it "should return to_params on the contraction link " do
- @refinement.to_params.should == "N="
+ it "should return to_endeca_params on the contraction link " do
+ @refinement.to_endeca_params.should == "N="
end
it "should return an array of dimensions for dimension_values" do
my_dimension = Endeca::Dimension.new(@dimension_value)
@refinement.dimension_values.should == [my_dimension]