home_helper_spec.rb 241 Bytes
Newer Older
Eugen Rochko's avatar
Eugen Rochko committed
1 2 3
require 'rails_helper'

RSpec.describe HomeHelper, type: :helper do
Akihiko Odaki's avatar
Akihiko Odaki committed
4 5
  describe 'default_props' do
    it 'returns default properties according to the context' do
6
      expect(helper.default_props).to eq locale: I18n.locale
Akihiko Odaki's avatar
Akihiko Odaki committed
7 8
    end
  end
Eugen Rochko's avatar
Eugen Rochko committed
9
end