Spec HomeHelper (#3415)

This commit is contained in:
Akihiko Odaki authored and Eugen Rochko committed 2017-05-29 18:02:44 +02:00
1 parent c8a226f61c
commit d24d3fa283
1 file changed
+5 -1
+5 -1
View File
@@ -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