Permalink
Browse files

use database_cleaner and factory girl for tests

  • Loading branch information...
1 parent 3ab46c3 commit a206d9f542c8612f617664e51d04cb4fb0166363 @mikesea mikesea committed Jul 13, 2012
Showing with 7 additions and 0 deletions.
  1. +2 −0 Gemfile
  2. +5 −0 Gemfile.lock
View
@@ -15,6 +15,8 @@ gem 'json', :platform => 'ruby_18'
group :development, :test do
gem "rack-test", "0.6.1"
+ gem "database_cleaner"
+ gem "factory_girl", "~> 3.0"
# gem "foreman"
# gem "puma"
gem "minitest"
View
@@ -15,6 +15,9 @@ GEM
arel (3.0.2)
backports (2.3.0)
builder (3.0.0)
+ database_cleaner (0.8.0)
+ factory_girl (3.5.0)
+ activesupport (>= 3.0.0)
i18n (0.6.0)
json (1.7.3)
minitest (3.2.0)
@@ -46,6 +49,8 @@ PLATFORMS
DEPENDENCIES
activerecord (= 3.2.6)
backports (= 2.3.0)
+ database_cleaner
+ factory_girl (~> 3.0)
json
minitest
rack-test (= 0.6.1)

0 comments on commit a206d9f

Please sign in to comment.