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.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/helpers/home_helper_spec.rb b/spec/helpers/home_helper_spec.rb
index 8c96387e6..b085e179c 100644
--- a/spec/helpers/home_helper_spec.rb
+++ b/spec/helpers/home_helper_spec.rb
@@ -1,5 +1,9 @@
 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
+    end
+  end
 end