Fix unsupported time zone or locale preventing sign-up (#28035)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
c9ffdcbaa2
commit
cdc57c74b7
3 changed files with 22 additions and 16 deletions
|
@ -28,11 +28,5 @@ describe Settings::Preferences::AppearanceController do
|
|||
|
||||
expect(response).to redirect_to(settings_preferences_appearance_path)
|
||||
end
|
||||
|
||||
it 'renders show on failure' do
|
||||
put :update, params: { user: { locale: 'fake option' } }
|
||||
|
||||
expect(response).to render_template('preferences/appearance/show')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue