9 lines
176 B
Ruby
9 lines
176 B
Ruby
|
RSpec.configure do |config|
|
||
|
config.before(:suite) do
|
||
|
DatabaseCleaner.clean_with(:truncation)
|
||
|
Rails.application.load_seed
|
||
|
Cache.clear
|
||
|
Setting.reload
|
||
|
end
|
||
|
end
|