summaryrefslogtreecommitdiff
path: root/spec/helpers/pagination_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/pagination_helper_spec.rb')
-rw-r--r--spec/helpers/pagination_helper_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/helpers/pagination_helper_spec.rb b/spec/helpers/pagination_helper_spec.rb
index e235475fb47..448cc768185 100644
--- a/spec/helpers/pagination_helper_spec.rb
+++ b/spec/helpers/pagination_helper_spec.rb
@@ -1,10 +1,10 @@
-require 'spec_helper'
+require "spec_helper"
describe PaginationHelper do
- describe '#paginate_collection' do
+ describe "#paginate_collection" do
let(:collection) { User.all.page(1) }
- it 'paginates a collection without using a COUNT' do
+ it "paginates a collection without using a COUNT" do
without_count = collection.without_count
expect(helper).to receive(:paginate_without_count)
@@ -14,7 +14,7 @@ describe PaginationHelper do
helper.paginate_collection(without_count)
end
- it 'paginates a collection using a COUNT' do
+ it "paginates a collection using a COUNT" do
expect(helper).to receive(:paginate_with_count).and_call_original
helper.paginate_collection(collection)