Skip to content

Commit

Permalink
functional test fix for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan You committed Jan 10, 2014
1 parent 8c7ee32 commit bd835ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/functional/specs/routing.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
casper.test.begin('Routing', 10, function (test) {

casper
.start('./fixtures/routing.html', function () {
.start('./fixtures/routing.html')
.then(function () {
test.assertElementCount('div', 1)
test.assertSelectorHasText('div', 'Hi!')
})
Expand Down
3 changes: 2 additions & 1 deletion test/functional/specs/validation.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
casper.test.begin('Validation', 4, function (test) {

casper
.start('./fixtures/validation.html', function () {
.start('./fixtures/validation.html')
.then(function () {
test.assertElementCount('.valid', 0)
this.sendKeys('input', '@hello.com')
})
Expand Down

0 comments on commit bd835ac

Please sign in to comment.