Fix the build.

Fix the build.

1481ea640c2bdcb6e6ef5d5cf991ef9195f7151f broke it.

diff --git a/spec/requests/users_controller_spec.rb b/spec/requests/users_controller_spec.rb
index cc0c9ba..c4b7d75 100644
--- a/spec/requests/users_controller_spec.rb
+++ b/spec/requests/users_controller_spec.rb
@@ -1238,7 +1238,8 @@ describe UsersController do
         put "/u/#{user.username}/preferences/username.json", params: { new_username: new_username }
 
         expect(response.status).to eq(422)
-        expect(::JSON.parse(response.body)['errors'].first).to  include(I18n.t('errors.messages.sso_overrides_username'))
+        expect(::JSON.parse(response.body)['errors'].first).to include(I18n.t('errors.messages.sso_overrides_username'))
+      end
     end
   end

GitHub sha: 3b575b82

1 Like