Permalink
Browse files

Merge pull request #14 from phlipper/require-database-cleaner

require database_cleaner in the minitest_helper
  • Loading branch information...
2 parents 4221627 + f24d957 commit 6d2e7f12afbd20351511d0d683b1ed4aeee75dff @phlipper phlipper committed Sep 28, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/generators/thincloud/test/templates/minitest_helper.rb
@@ -13,6 +13,8 @@
ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__)
+require "database_cleaner" # reset database on each test run
+
require "minitest/autorun"
require "minitest/rails"
require "minitest/pride" # Provides awesome colorful output

0 comments on commit 6d2e7f1

Please sign in to comment.