mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
typos
This commit is contained in:
parent
aaaaec33a3
commit
47b9ef394e
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ if defined? ActiveRecord
|
|||
end
|
||||
|
||||
context "when the scope is cloned" do
|
||||
it "should reset total_coount momoization" do
|
||||
it "should reset total_count memoization" do
|
||||
User.page.tap(&:total_count).where(:name => 'author').total_count.should == 1
|
||||
end
|
||||
end
|
||||
|
|
|
@ -8,7 +8,7 @@ if defined? Mongoid
|
|||
end
|
||||
|
||||
context "when the scope is cloned" do
|
||||
it "should reset total_coount momoization" do
|
||||
it "should reset total_count memoization" do
|
||||
User.page.tap(&:total_count).where(:salary => 1).total_count.should == 1
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue