spec/collection_spec.rb in vj-sdk-0.7.2 vs spec/collection_spec.rb in vj-sdk-0.7.3
- old
+ new
@@ -46,7 +46,12 @@
it "should provide a correct offset" do
offset = Videojuicer::Resource::Collection.limit_from_page_number 2, 20
offset.should == 20
end
+ it "should be able to take a string as a page and limit argument" do
+ offset = Videojuicer::Resource::Collection.limit_from_page_number "2", "20"
+ offset.should == 20
+ end
+
end
\ No newline at end of file