From 3619a2e785539f7c7bf77cf2fa399bbbf1a8049e Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Wed, 12 Oct 2016 09:59:23 +0900 Subject: [PATCH] Redundant { } --- kaminari-core/spec/helpers/action_view_extension_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kaminari-core/spec/helpers/action_view_extension_spec.rb b/kaminari-core/spec/helpers/action_view_extension_spec.rb index 0e15244..e98de77 100644 --- a/kaminari-core/spec/helpers/action_view_extension_spec.rb +++ b/kaminari-core/spec/helpers/action_view_extension_spec.rb @@ -239,7 +239,7 @@ describe 'Kaminari::ActionViewExtension', :if => defined?(::Rails::Railtie) && d before do 50.times {|i| User.create! :name => "user#{i}"} @users = User.page(1).per(25) - I18n.backend.store_translations(:en, { User.i18n_scope => { models: { user: { one: "person", other: "people" } } } }) + I18n.backend.store_translations(:en, User.i18n_scope => { :models => { :user => { :one => "person", :other => "people" } } }) end after do