Skip to content
Browse files

test cleanup

  • Loading branch information...
1 parent 9fa7b20 commit d4a34d9e2c0fe12e005d99709c56d8192d0c28f3 @sebv sebv committed Oct 12, 2012
Showing with 3 additions and 7 deletions.
  1. +3 −7 test/common/basic-test-base.js
View
10 test/common/basic-test-base.js
@@ -55,14 +55,10 @@
this.timeout(TIMEOUT);
return browser.elementById("submit", function(err, el) {
return browser.clickElement(el, function() {
- if (process.env.aGHOSTDRIVER_TEST == null) {
- return browser["eval"]("window.location.href", function(err, location) {
- assert.ok(~location.indexOf("http://"), "Wrong location!");
- return done(null);
- });
- } else {
+ return browser["eval"]("window.location.href", function(err, location) {
+ assert.ok(~location.indexOf("http://"), "Wrong location!");
return done(null);
- }
+ });
});
});
});

0 comments on commit d4a34d9

Please sign in to comment.
Something went wrong with that request. Please try again.