Fixed a problem in the spec_helper preventing tests from being run.
This commit is contained in:
parent
0d747b14fe
commit
442e254202
@ -32,14 +32,6 @@ RSpec.configure do |config|
|
||||
end
|
||||
|
||||
config.before(:each) do
|
||||
if self.described_class != Locomotive::Import::Job
|
||||
DatabaseCleaner.clean
|
||||
end
|
||||
end
|
||||
|
||||
config.before(:all) do
|
||||
if self.described_class == Locomotive::Import::Job
|
||||
DatabaseCleaner.clean
|
||||
end
|
||||
DatabaseCleaner.clean
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user