Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
chore(tests): fix test when dummyUrl resolves
Browse files Browse the repository at this point in the history
When there is a baseUrl, and a router that routes unrecognized paths to the default page, then baseUrl/dummyUrl could actually resolve to a correct page, and this will not fail.
  • Loading branch information
hankduan committed Jun 3, 2015
1 parent b76bfc8 commit b986944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/basic/handling_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
describe('handling timeout errors', function() {

it('should call error handler on a timeout', function() {
browser.get('dummyUrl', 1).then(function() {
browser.get('http://dummyUrl', 1).then(function() {
throw 'did not handle error';
}, function(err) {
expect(err).toBeDefined();
Expand Down

0 comments on commit b986944

Please sign in to comment.