Skip to content
Browse files

add kaminari gem to Gemfile.

  • Loading branch information...
1 parent 4c82e22 commit ff656c2ef49aabadbf96808f155d18f986dec0e8 @ruseel committed Nov 22, 2012
Showing with 8 additions and 3 deletions.
  1. +1 −0 Gemfile
  2. +4 −0 Gemfile.lock
  3. +1 −1 README.md
  4. +2 −2 test/unit/topic_test.rb
View
1 Gemfile
@@ -37,3 +37,4 @@ gem 'bcrypt-ruby', '~> 3.0.0'
# To use debugger
# gem 'debugger'
+gem 'kaminari'
View
4 Gemfile.lock
@@ -48,6 +48,9 @@ GEM
railties (>= 3.1.0, < 5.0)
thor (~> 0.14)
json (1.7.5)
+ kaminari (0.14.1)
+ actionpack (>= 3.0.0)
+ activesupport (>= 3.0.0)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
@@ -107,6 +110,7 @@ DEPENDENCIES
bcrypt-ruby (~> 3.0.0)
coffee-rails (~> 3.2.1)
jquery-rails
+ kaminari
rails (= 3.2.8)
sass-rails (~> 3.2.3)
sqlite3
View
2 README.md
@@ -43,7 +43,7 @@ v create
v reply
v edit
v update
-- delete
+v delete
- pagination gem 적용
View
4 test/unit/topic_test.rb
@@ -13,8 +13,8 @@ class TopicTest < ActiveSupport::TestCase
end
test "create new topic without parent" do
- t=Topic.create(subject: "one", body: "one")
- assert_not_nil t.boardish
+ t=Topic.create(subject: "one", body: "one")
+ assert_not_nil t.boardish
end
test "empty subject or empty body" do

0 comments on commit ff656c2

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