Commit a06e4ca2 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'rails5-fix-6607' into 'master'

Rails5 fix NoMethodError: undefined method `join' for "":String

Closes #6607

See merge request gitlab-org/gitlab-ee!6278
parents 4401833e bcb6f17f
---
title: 'Rails5 fix NoMethodError: undefined method `join'' for "":String'
merge_request: 6278
author: Jasper Maes
type: fixed
......@@ -15,7 +15,7 @@ describe Oauth::ApplicationsController do
sign_in(user)
application = build(:oauth_application)
application_attributes = application.attributes.merge(scopes: [])
application_attributes = application.attributes.merge("scopes" => [])
expect { post :create, doorkeeper_application: application_attributes }.to change { SecurityEvent.count }.by(1)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment