1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Merge pull request #974 from znz/fix-typos

Fix typos in test names
This commit is contained in:
Akira Matsuda 2018-11-28 16:31:24 +09:00 committed by GitHub
commit 7d244ea646
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ if defined?(::Rails::Railtie) && defined?(ActionView)
assert_equal '/users', Kaminari::Helpers::Tag.new(self).page_url_for(1)
end
test 'config.params_on_first_page == false' do
test 'config.params_on_first_page == true' do
begin
Kaminari.config.params_on_first_page = true
assert_equal '/users?page=1', Kaminari::Helpers::Tag.new(self).page_url_for(1)
@ -37,7 +37,7 @@ if defined?(::Rails::Railtie) && defined?(ActionView)
assert_equal('/addresses', Kaminari::Helpers::Tag.new(self).page_url_for(1))
end
test 'config.params_on_first_page == false' do
test 'config.params_on_first_page == true' do
begin
Kaminari.config.params_on_first_page = true
assert_equal('/addresses/page/1', Kaminari::Helpers::Tag.new(self).page_url_for(1))