Fix typo in application_helper_spec.rb (#20981)

enviroment -> environment
th-downstream
Ikko Ashimine 2 years ago committed by GitHub
parent 21ffc2340f
commit 3c4c932938

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