Commit bcb6f17f authored by Jasper Maes's avatar Jasper Maes

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

parent f28ff040
---
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