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

Fix typos in test names

This commit is contained in:
Kazuhiro NISHIYAMA 2018-11-28 16:19:15 +09:00
parent c5186f5d9b
commit bf962c824d

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))