From 84defdfdf8f4df6a74f94f248664d3554ece0cc6 Mon Sep 17 00:00:00 2001
From: JESii <jseidel@edpci.com>
Date: Thu, 18 Apr 2013 13:34:38 -0700
Subject: [PATCH] Fix failing cucumber sign_in scenario...

Use database_cleaner strategy = :truncation instead of transaction which causes nil error
---
 features/support/env.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/features/support/env.rb b/features/support/env.rb
index 9f3b86d..a83a227 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -31,7 +31,7 @@
 # Remove/comment out the lines below if your app doesn't have a database.
 # For some databases (like MongoDB and CouchDB) you may need to use :truncation instead.
 begin
-  DatabaseCleaner.strategy = :transaction
+  DatabaseCleaner.strategy = :truncation
 rescue NameError
   raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
 end