Created
July 11, 2013 00:03
-
-
Save andyshinn/5971343 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var phantom = require('phantom'), mystatus; | |
phantom.create(function(ph) { | |
ph.createPage(function(page) { | |
page.open('https://localhost:8443/login', function(status) { | |
mystatus = status | |
}); | |
}); | |
}); | |
describe("Page Tests", function () { | |
it('returns correct status', function() { | |
expect(mystatus).toEqual('success'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment