mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 01:26:18 -05:00
FIX: Weird spec
This commit is contained in:
parent
eff2865278
commit
3b9b492ea6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue