Skip to content

Commit

Permalink
test(bootstrap): Loading post fixtures on bootstrap
Browse files Browse the repository at this point in the history
Loading sample post data into db before tests
  • Loading branch information
Etiene committed Oct 11, 2015
1 parent e53b064 commit 0d37dfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/dev-app/tests/bootstrap.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
-- Test Bootstrap file
-- This file will run before running tests
sailor = require "sailor"

local t = require "sailor.test"

t.load_fixtures('user')
t.load_fixtures('category')
t.load_fixtures('post')
--t.load_fixtures()

0 comments on commit 0d37dfc

Please sign in to comment.