Gab Social. All are welcome.
This commit is contained in:
9
spec/helpers/home_helper_spec.rb
Normal file
9
spec/helpers/home_helper_spec.rb
Normal file
@@ -0,0 +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: I18n.locale
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user