Skip to content
Browse files

Added .npmignore, no longer using spec/tmp

  • Loading branch information...
1 parent efa2497 commit dbe65efb97dbd72a3da0f6021652f558eda2821a @assaf committed Dec 13, 2011
Showing with 11 additions and 11 deletions.
  1. +0 −1 .gitignore
  2. +4 −0 .npmignore
  3. +1 −1 package.json
  4. +5 −6 spec/helpers.coffee
  5. +1 −3 spec/script_spec.coffee
  6. 0 spec/tmp/.empty
View
1 .gitignore
@@ -2,4 +2,3 @@ docs
html
man7
node_modules
-spec/tmp/*
View
4 .npmignore
@@ -0,0 +1,4 @@
+.gitignore
+docs
+html
+man7
View
2 package.json
@@ -36,7 +36,7 @@
},
"dependencies": {
"coffee-script": "~1.1.3",
- "contextify": "~0.0.6",
+ "contextify": "~0.0.7",
"html5": "~0.3.5",
"jsdom": "~0.2.10",
"mime": "~1.2.4",
View
11 spec/helpers.coffee
@@ -1,16 +1,15 @@
-# Formidable reads this
-process.env.TMP = "#{__dirname}/tmp"
-
-File = require("fs")
Express = require("express")
-Zombie = require("../lib/zombie.js")
-Browser = Zombie.Browser
+File = require("fs")
+Path = require("path")
+Zombie = require("../lib/zombie.js")
# Always run in verbose mode on Travis.
Zombie.debug = true if process.env.TRAVIS
Zombie.silent = !Zombie.debug
+Browser = Zombie.Browser
+
# An express server we use to test the browser.
brains = Express.createServer()
View
4 spec/script_spec.coffee
@@ -106,8 +106,7 @@ vows.describe("Scripts").addBatch(
"should be the same as this, top and parent": (browser)->
assert.equal browser.text("title"), "true,true,true,true,true,true"
- "global and function": "pending"
- ###
+ "global and function":
topic: ->
brains.get "/script/global_and_fn", (req, res)->
res.send """
@@ -128,7 +127,6 @@ vows.describe("Scripts").addBatch(
assert.isEmpty browser.errors
"should set global variable": (browser)->
assert.equal browser.text("title"), "foo"
- ###
"failing":
View
0 spec/tmp/.empty
No changes.

2 comments on commit dbe65ef

@glenjamin

Thanks for sorting this! I'm assuming you saw my tweet :)

@assaf
Owner
assaf commented on dbe65ef Dec 13, 2011

Yeah, from the tweet :)

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