test/unit/test_helpers_tests.rb in ardb-0.20.0 vs test/unit/test_helpers_tests.rb in ardb-0.21.0
- old
+ new
@@ -1,18 +1,18 @@
require 'assert'
require 'ardb/test_helpers'
module Ardb::TestHelpers
- class BaseTests < Assert::Context
+ class UnitTests < Assert::Context
desc "Ardb test helpers"
subject{ Ardb::TestHelpers }
should have_imeths :drop_tables, :load_schema, :reset_db, :reset_db!
end
- class UsageTests < BaseTests
+ class UsageTests < UnitTests
setup do
@adapter_spy_class = Ardb::AdapterSpy.new
@orig_ardb_adapter = Ardb.adapter
Ardb::Adapter.current = @adapter_spy = @adapter_spy_class.new
end