Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix Data Mapper test assertion

  • Loading branch information...
commit fda731dac0c4479a7060c1f4d9b453c98ef2d6f4 1 parent 61c9f49
@tiegz tiegz authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/finders/data_mapper_spec.rb
View
2  spec/finders/data_mapper_spec.rb
@@ -90,7 +90,7 @@
animals = Animal.all(:limit => 2).page(1)
array = animals.to_a
array.size.should == 2
- array.is_a? WillPaginate::Collection
+ array.should be_kind_of(WillPaginate::Collection)
array.current_page.should == 1
array.per_page.should == 2
end
Please sign in to comment.
Something went wrong with that request. Please try again.