Spec HomeHelper (#3415)
parent
5f935f5da8
commit
b0c3722eea
@ -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
|
||||
|
Loading…
Reference in new issue