about summary refs log tree commit diff
path: root/spec/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/home_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/home_helper_spec.rb b/spec/helpers/home_helper_spec.rb
index b085e179c..a3dc6f836 100644
--- a/spec/helpers/home_helper_spec.rb
+++ b/spec/helpers/home_helper_spec.rb
@@ -3,7 +3,7 @@ require 'rails_helper'
 RSpec.describe HomeHelper, type: :helper do
   describe 'default_props' do
     it 'returns default properties according to the context' do
-      expect(helper.default_props).to eq locale: :en
+      expect(helper.default_props).to eq locale: I18n.locale
     end
   end
 end