about summary refs log tree commit diff
path: root/spec/helpers
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2017-05-30 01:02:44 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-29 18:02:44 +0200
commitd24d3fa28317d6a60f2aec361a4ce212d43b85ba (patch)
tree24469b197932cd889fb78473880dc4d99549fe13 /spec/helpers
parentc8a226f61c91645b0670630ec95cb60e1d8cdde0 (diff)
Spec HomeHelper (#3415)
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