mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 12:05:07 +01:00
Spec HomeHelper (#3415)
This commit is contained in:
parent
c8a226f61c
commit
d24d3fa283
@ -1,5 +1,9 @@
|
|||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
RSpec.describe HomeHelper, type: :helper do
|
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
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user