Skip to content

Instantly share code, notes, and snippets.

@dustinmartin
Last active December 16, 2015 02:59
Show Gist options
  • Save dustinmartin/5366849 to your computer and use it in GitHub Desktop.
Save dustinmartin/5366849 to your computer and use it in GitHub Desktop.
describe("MyApp", function() {
beforeEach(function() {
browser().navigateTo("../../index.html");
});
it("should be at /quote", function() {
browser().navigateTo('#!/quote');
expect( browser().location().url() ).toBe("/quote");
});
});
@dustinmartin
Copy link
Author

Getting the following error

TypeError: 'undefined' is not a function (evaluating '$document.injector()')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment