about summary refs log tree commit diff
path: root/spec/helpers/home_helper_spec.rb
blob: b085e179ca0fe7a3ae911c786cfd678c69c54e87 (plain) (blame)
1
2
3
4
5
6
7
8
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