test/unit/ardb_tests.rb in ardb-0.7.0 vs test/unit/ardb_tests.rb in ardb-0.8.0
- old
+ new
@@ -26,9 +26,10 @@
assert_raises(NotConfiguredError) { subject.init }
Ardb.config.db.adapter = orig_adapter
end
should "init the adapter on init" do
+ Adapter.reset
assert_nil Adapter.current
begin
subject.init
rescue LoadError
end