Permalink
Browse files

Create database_cleaner.rb

  • Loading branch information...
1 parent 1747d69 commit 232e228c40608a3cb2a980b0dcce787954e405c4 @oriolgual oriolgual committed Dec 6, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 database_cleaner.rb
View
@@ -0,0 +1,3 @@
+require 'database_cleaner'
+DatabaseCleaner.strategy = :truncation
+Spinach.hooks.before_scenario { DatabaseCleaner.clean }

0 comments on commit 232e228

Please sign in to comment.