diff options
Diffstat (limited to 'spec/helpers/users_helper_spec.rb')
-rw-r--r-- | spec/helpers/users_helper_spec.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/spec/helpers/users_helper_spec.rb b/spec/helpers/users_helper_spec.rb index 617a796781e..c2c78be6a0f 100644 --- a/spec/helpers/users_helper_spec.rb +++ b/spec/helpers/users_helper_spec.rb @@ -204,11 +204,12 @@ RSpec.describe UsersHelper do badges = helper.user_badges_in_admin_section(user) - expect(badges).to match_array([ - { text: s_("AdminUsers|Blocked"), variant: "danger" }, - { text: s_("AdminUsers|Admin"), variant: "success" }, - { text: s_("AdminUsers|External"), variant: "secondary" } - ]) + expect(badges).to match_array( + [ + { text: s_("AdminUsers|Blocked"), variant: "danger" }, + { text: s_("AdminUsers|Admin"), variant: "success" }, + { text: s_("AdminUsers|External"), variant: "secondary" } + ]) end end |