mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 15:51:05 +08:00
Add rubocop to our build. (#5004)
This commit is contained in:
@ -36,7 +36,7 @@ TXT
|
||||
let :args do
|
||||
{
|
||||
scopes: 'read',
|
||||
client_id: "x"*32,
|
||||
client_id: "x" * 32,
|
||||
auth_redirect: 'http://over.the/rainbow',
|
||||
application_name: 'foo',
|
||||
public_key: public_key,
|
||||
@ -206,7 +206,6 @@ TXT
|
||||
expect(api_key.scopes.sort).to eq(["push", "message_bus", "notifications", "session_info"].sort)
|
||||
expect(api_key.push_url).to eq("https://push.it/here")
|
||||
|
||||
|
||||
uri.query = ""
|
||||
expect(uri.to_s).to eq(args[:auth_redirect] + "?")
|
||||
|
||||
|
Reference in New Issue
Block a user