Fixed a problem in the spec_helper preventing tests from being run.

This commit is contained in:
Mario Visic 2012-01-29 19:41:53 +11:00
parent 0d747b14fe
commit 442e254202

View File

@ -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