This commit is contained in:
grosbouddha
2013-05-27 00:35:12 +02:00
parent 88afff89c9
commit 3b6d5aeea1
2 changed files with 3 additions and 11 deletions

View File

@ -7,7 +7,7 @@ module.exports = function(grunt) {
files: [ files: [
'Gruntfile.js', 'Gruntfile.js',
'package.json', 'package.json',
'source/**/*.js'/*, 'js/**/*.js'/*,
'<%= nodeunit.tests %>'*/ '<%= nodeunit.tests %>'*/
] ]
}, },
@ -33,7 +33,7 @@ module.exports = function(grunt) {
options: { options: {
args: { args: {
baseUrl: 'http://localhost:' + baseUrl: 'http://localhost:' +
'<%= connect.www.options.port %>/index.html' '<%= connect.www.options.port %>/'
}, },
direct: false, direct: false,
logLevel: 'error', logLevel: 'error',

View File

@ -1,15 +1,7 @@
casper casper
.start(casper.cli.get('baseUrl')) .start(casper.cli.get('baseUrl'))
.then(function () { .then(function () {
/*this.test.assertTitle('Gougel', 'Make sure the title is set'); this.test.assertExists('#drawing-canvas-container', 'Check if the balance is set');
this.test.assertExists('.balance', 'Check if the balance is set');
this.fill('form', {
q: 'foo'
}, true);*/
this.test.assertExists('#drawing-canvas-container', 'Check if the balance is set');
})
.then(function () {
//this.test.assertUrlMatch(/www.google.com/, 'Forward the query to Google');
}) })
.run(function () { .run(function () {
this.test.done(); this.test.done();