mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
add some more testing
This commit is contained in:
parent
a37db9448f
commit
fcdf13f52d
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ TXT
|
|||
expect(parsed["nonce"]).to eq(args[:nonce])
|
||||
expect(parsed["access"].split('').sort).to eq(['r'])
|
||||
|
||||
key = user.user_api_keys.first
|
||||
expect(key.push_url).to eq("https://push.it/here")
|
||||
|
||||
end
|
||||
|
||||
it "will redirect correctly with valid token" do
|
||||
|
|
Loading…
Reference in a new issue