add some more testing

This commit is contained in:
Sam 2016-08-26 13:18:20 +10:00
parent a37db9448f
commit fcdf13f52d

View file

@ -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