Skip to content
Browse files

A small change to the wording in the test.

  • Loading branch information...
1 parent b920930 commit 1bd3d86e09a703e45851235d45241d6e2d01dd9d @nowk committed Feb 8, 2010
Showing with 9 additions and 1 deletion.
  1. +8 −0 README.md
  2. +1 −1 spec/pagin_spec.rb
View
8 README.md
@@ -1,7 +1,10 @@
Sinatra::Pagin*
=
+
**Small utility to process paginated urls without modifying the mapped paths in your Sinatra app**
+***
+
### Usage, *if you actually want to use this...*
To install, just grab the git, then require in your [Sinatra][0] app
@@ -54,16 +57,21 @@ It also supports `.:format` in your path.
# => path_info == /a/pathed/path.js
# => page == 45
+***
+
### TODO
- Maybe gemspec
- Fix whatever breaks along the way.
- Whatever else...
+***
+
### Resources
- [Checked with Integrity][1]
+***
### License
View
2 spec/pagin_spec.rb
@@ -166,7 +166,7 @@ def get_absolute(uri)
end
[1, 21, 302, "4", "501", "602"].each do |p|
- it "should return value of @page if @page is #{p}" do
+ it "should return value of page #{p} in it's integer format" do
page p
page.should == p.to_i
end

0 comments on commit 1bd3d86

Please sign in to comment.
Something went wrong with that request. Please try again.