Audofix Rubocop Style/WordArray (#23739)
This commit is contained in:
parent
4552685f6b
commit
bf785df9fe
17 changed files with 27 additions and 50 deletions
|
@ -23,7 +23,7 @@ describe Settings::Preferences::OtherController do
|
|||
expect(response).to redirect_to(settings_preferences_other_path)
|
||||
user.reload
|
||||
expect(user.locale).to eq 'en'
|
||||
expect(user.chosen_languages).to eq ['es', 'fr']
|
||||
expect(user.chosen_languages).to eq %w(es fr)
|
||||
end
|
||||
|
||||
it 'updates user settings' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue