add some test and things
This commit is contained in:
8
spec/support/database_cleaner.rb
Normal file
8
spec/support/database_cleaner.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
RSpec.configure do |config|
|
||||
config.before(:suite) do
|
||||
DatabaseCleaner.strategy = :truncation
|
||||
DatabaseCleaner.clean_with(:truncation)
|
||||
|
||||
Rails.application.load_seed
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user