From aa34c7ff6b91468d19c22d7f6c342d83ca7980ad Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Wed, 5 Mar 2014 15:32:22 -0500 Subject: [PATCH] Removed zombie.js tests (causing install problems for Windows users) --- package.json | 5 ++--- test/contact_test.js | 22 ---------------------- 2 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 test/contact_test.js diff --git a/package.json b/package.json index 0eadb89df7..9f36430514 100755 --- a/package.json +++ b/package.json @@ -47,9 +47,8 @@ "validator": "~3.3.0" }, "devDependencies": { - "chai": "~1.9.0", "mocha": "~1.17.1", - "supertest": "~0.9.0", - "zombie": "~2.0.0-alpha30" + "chai": "~1.9.0", + "supertest": "~0.9.0" } } diff --git a/test/contact_test.js b/test/contact_test.js deleted file mode 100644 index b407cbd41c..0000000000 --- a/test/contact_test.js +++ /dev/null @@ -1,22 +0,0 @@ -var chai = require('chai'); -var should = chai.should(); -var app = require('../app.js'); -var Browser = require('zombie'); -var browser = new Browser({ site: 'http://localhost:3000' }); - - -describe('GET /contact', function() { - - it('should refuse partial form submissions', function(done) { - browser.visit('/contact', function() { - browser - .fill('name', 'Clementine') - .fill('message', 'The Walking Dead') - .pressButton('Send', function() { - browser.success.should.be.true; - should.exist(browser.query('.alert-danger')); - done(); - }); - }); - }); -});