G0dwin
11 years ago
9 changed files with 843 additions and 2863 deletions
File diff suppressed because it is too large
@ -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 |
|||
|
Loading…
Reference in new issue