typos
This commit is contained in:
parent
aaaaec33a3
commit
47b9ef394e
|
@ -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 New Issue