mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 01:23:10 +08:00
add some more testing
This commit is contained in:
parent
a37db9448f
commit
fcdf13f52d
@ -121,6 +121,9 @@ TXT
|
|||||||
expect(parsed["nonce"]).to eq(args[:nonce])
|
expect(parsed["nonce"]).to eq(args[:nonce])
|
||||||
expect(parsed["access"].split('').sort).to eq(['r'])
|
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
|
end
|
||||||
|
|
||||||
it "will redirect correctly with valid token" do
|
it "will redirect correctly with valid token" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user