mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06: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…
Reference in New Issue
Block a user