Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ks with string inputs
  • Loading branch information...
commit 60d589d055162f830d2435f0c492fa1acebd1a7c 1 parent c7561c8
Roman Gonzalez authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 spec/walruz/more/pagination_spec.rb
6 spec/walruz/more/pagination_spec.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.