mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
FIX: Weird spec
This commit is contained in:
parent
eff2865278
commit
3b9b492ea6
@ -6,7 +6,7 @@ require_dependency "auth/result"
|
||||
describe "users/omniauth_callbacks/complete.html.erb" do
|
||||
|
||||
let :rendered_data do
|
||||
returned = JSON.parse(rendered.match(/window.opener.Discourse.authenticationComplete\((.*)\)/)[1])
|
||||
JSON.parse(rendered.match(/var authResult = (.*);/)[1])
|
||||
end
|
||||
|
||||
it "renders auth info" do
|
||||
|
Loading…
x
Reference in New Issue
Block a user