spec/endeca/document_spec.rb in primedia-endeca-0.9.1 vs spec/endeca/document_spec.rb in primedia-endeca-0.9.2

- old
+ new

@@ -86,17 +86,17 @@ dimension_hash = mock('Dimension Hash') dimension = mock(Endeca::Dimension) @document. stub!(:raw). - and_return({'Dimensions' => {"key" => dimension_hash}}) + and_return({'Dimensions' => {"key" => [dimension_hash]}}) Endeca::Dimension. should_receive(:new). with(dimension_hash). and_return(dimension) - @document.dimensions["key"].should == dimension + @document.dimensions["key"].should == [dimension] end end end describe 'with :first' do