User login error fixed

This commit is contained in:
G0dwin
2014-05-17 18:20:13 -06:00
parent e5bf3f5a5c
commit 20c9791f52
9 changed files with 843 additions and 2863 deletions
-7
View File
@@ -1,7 +0,0 @@
RSpec.configure do |config|
config.include Delorean
config.before(:each) do
back_to_the_present
end
end
+4 -4
View File
@@ -1,15 +1,15 @@
RSpec.configure do |config|
config.before(:suite) do
DatabaseCleaner.strategy = :transaction
DatabaseCleaner.clean_with(:truncation)
#DatabaseCleaner.strategy = :transaction
#DatabaseCleaner.clean_with(:truncation)
end
config.before(:each) do
DatabaseCleaner.start
#DatabaseCleaner.start
end
config.after(:each) do
DatabaseCleaner.clean
#DatabaseCleaner.clean
end
end