不要怂,就是干,撸起袖子干!

Commit 88a41dd5 by Daniel Durante

Moved before block up a level higher this way we're on the same level as the after block.

1 parent 056d4f49
Showing with 5 additions and 5 deletions
...@@ -6,17 +6,17 @@ var chai = require('chai') ...@@ -6,17 +6,17 @@ var chai = require('chai')
chai.Assertion.includeStack = true chai.Assertion.includeStack = true
describe(Support.getTestDialectTeaser("Language Util"), function() { describe(Support.getTestDialectTeaser("Language Util"), function() {
before(function(done) {
this.sequelize.options.language = 'es'
done()
})
after(function(done) { after(function(done) {
this.sequelize.options.language = 'en' this.sequelize.options.language = 'en'
done() done()
}) })
describe("Plural", function(){ describe("Plural", function(){
before(function(done) {
this.sequelize.options.language = 'es'
done()
})
it("should rename tables to their plural form...", function(done){ it("should rename tables to their plural form...", function(done){
var self = this var self = this
, table = self.sequelize.define('arbol', {name: Sequelize.STRING}) , table = self.sequelize.define('arbol', {name: Sequelize.STRING})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!