Skip to content

Commit

Permalink
parse store to use in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lancejpollard committed Aug 3, 2012
1 parent a015679 commit 8d05670
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/server.coffee
@@ -1,6 +1,10 @@
require '../index.js'
File = require('pathfinder').File

# mocha $(find test -name "*attributesTest.coffee") --store mongodb
store = require('commander').option('--store [name]', 'Store to run tests against', 'memory').parse(process.argv).store
Tower.store = Tower.Store[_.camelize(store)]

global.chai = require 'chai'
global.assert = chai.assert
global.expect = chai.expect
Expand Down

0 comments on commit 8d05670

Please sign in to comment.