Use transaction instead of truncation DatabaseCleaner strategy
It is the recommended strategy for ActiveRecod
This commit is contained in:
parent
30d1d87277
commit
0e13e4bdfd
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ VCR.configure do |c|
|
|||
c.configure_rspec_metadata!
|
||||
end
|
||||
|
||||
DatabaseCleaner.strategy = :truncation
|
||||
DatabaseCleaner.strategy = :transaction
|
||||
|
||||
SIADETOKEN = :valid_token unless defined? SIADETOKEN
|
||||
BROWSER.value = Browser.new('Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Win64; x64; Trident/6.0)')
|
||||
|
|
Loading…
Add table
Reference in a new issue