Spec HomeHelper (#3415)

master
Akihiko Odaki 8 years ago committed by Eugen Rochko
parent c8a226f61c
commit d24d3fa283
  1. 6
      spec/helpers/home_helper_spec.rb

@ -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…
Cancel
Save