home_helper_spec.rb 241 B

123456789
  1. require 'rails_helper'
  2. RSpec.describe HomeHelper, type: :helper do
  3. describe 'default_props' do
  4. it 'returns default properties according to the context' do
  5. expect(helper.default_props).to eq locale: I18n.locale
  6. end
  7. end
  8. end