Created
November 26, 2014 08:01
-
-
Save robksawyer/b3c39a2fe9ef80adf796 to your computer and use it in GitHub Desktop.
appHelper.fixtures = null
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sails = require('sails'), | |
sinon = require('sinon'), | |
assert = require('assert'), | |
request = require('supertest'), | |
appHelper = require('../../helpers/appHelper'), | |
agent = request.agent('http://localhost:1337'); | |
before(function(done){ | |
appHelper.lift(done); | |
}); | |
describe('UserController', function (done) { | |
console.log(appHelper.fixtures); | |
}); | |
after(function (done) { | |
// Restart the server to get back to a clean state | |
// (could just delete the user in this case, but sometimes this is easier) | |
appHelper.lift(done); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment