User login error fixed
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
RSpec.configure do |config|
|
||||
config.include Delorean
|
||||
|
||||
config.before(:each) do
|
||||
back_to_the_present
|
||||
end
|
||||
end
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user