Spec HomeHelper (#3415)

pull/3421/head
Akihiko Odaki 2017-05-30 01:02:44 +09:00 committed by Eugen Rochko
parent c8a226f61c
commit d24d3fa283
1 changed files with 5 additions and 1 deletions

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