mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 19:03:43 +01:00
Fix typo in application_helper_spec.rb (#20981)
enviroment -> environment
This commit is contained in:
parent
58200132d0
commit
baecdf2882
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ describe ApplicationHelper do
|
||||||
Setting.site_title = site_title
|
Setting.site_title = site_title
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'returns site title on production enviroment' do
|
it 'returns site title on production environment' do
|
||||||
Setting.site_title = 'site title'
|
Setting.site_title = 'site title'
|
||||||
expect(Rails.env).to receive(:production?).and_return(true)
|
expect(Rails.env).to receive(:production?).and_return(true)
|
||||||
expect(helper.title).to eq 'site title'
|
expect(helper.title).to eq 'site title'
|
||||||
|
|
Loading…
Reference in a new issue