diff --git a/Gruntfile.js b/Gruntfile.js index febea45c..fa27cf0d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -7,7 +7,7 @@ module.exports = function(grunt) { files: [ 'Gruntfile.js', 'package.json', - 'source/**/*.js'/*, + 'js/**/*.js'/*, '<%= nodeunit.tests %>'*/ ] }, @@ -33,7 +33,7 @@ module.exports = function(grunt) { options: { args: { baseUrl: 'http://localhost:' + - '<%= connect.www.options.port %>/index.html' + '<%= connect.www.options.port %>/' }, direct: false, logLevel: 'error', diff --git a/tests/integration/casperjs/smoke_test.js b/tests/integration/casperjs/smoke_test.js index daa2a27c..8ef9c851 100644 --- a/tests/integration/casperjs/smoke_test.js +++ b/tests/integration/casperjs/smoke_test.js @@ -1,15 +1,7 @@ casper .start(casper.cli.get('baseUrl')) .then(function () { - /*this.test.assertTitle('Gougel', 'Make sure the title 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'); + this.test.assertExists('#drawing-canvas-container', 'Check if the balance is set'); }) .run(function () { this.test.done();