Permalink
Browse files

Adding an spec for the previous commit, checking that it actually wor…

…ks with string inputs
  • Loading branch information...
1 parent c7561c8 commit 60d589d055162f830d2435f0c492fa1acebd1a7c @roman committed Oct 1, 2009
Showing with 6 additions and 0 deletions.
  1. +6 −0 spec/walruz/more/pagination_spec.rb
@@ -108,6 +108,12 @@
end.should_not raise_error
end
+ it "should work with an offset specified as an string" do
+ lambda do
+ @songs.authorized_paginate(Beatle::RINGO, :sing, :page => 1, :per_page => 5, :offset => '6')
+ end.should_not raise_error
+ end
+
end
end

0 comments on commit 60d589d

Please sign in to comment.