test nil case for DC::Base#orm=.

This commit is contained in:
Micah Geisel 2020-02-07 11:10:26 -08:00 committed by Micah Geisel
parent 5af614f3e7
commit e298366626

View file

@ -50,6 +50,12 @@ module DatabaseCleaner
cleaner = Base.new
expect(cleaner.orm).to be_nil
end
it "can handle being set to nil" do
cleaner = Base.new
cleaner.orm = nil
expect(cleaner.orm).to be_nil
end
end
end