test/unit/runner/generate_command_tests.rb in ardb-0.20.0 vs test/unit/runner/generate_command_tests.rb in ardb-0.21.0

- old
+ new

@@ -1,21 +1,21 @@ require 'assert' require 'ardb/runner/generate_command' class Ardb::Runner::GenerateCommand - class BaseTests < Assert::Context + class UnitTests < Assert::Context desc "Ardb::Runner::GenerateCommand" setup do @cmd = Ardb::Runner::GenerateCommand.new(['something']) end subject{ @cmd } - should have_instance_methods :run, :migration_cmd + should have_imeths :run, :migration_cmd end - class MigrationTests < BaseTests + class MigrationTests < UnitTests desc "Ardb::Runner::GenerateCommand::MigrationCommand" setup do @cmd = Ardb::Runner::GenerateCommand::MigrationCommand.new('a_migration') end