test/cases/on_base_test.rb in secondbase-1.0.1 vs test/cases/on_base_test.rb in secondbase-2.0.0
- old
+ new
@@ -11,10 +11,10 @@
def test_on_base
refute SecondBase.is_on_base
SecondBase.on_base do
assert SecondBase.is_on_base
assert_equal SecondBase::Base.connection.class, ActiveRecord::Base.connection.class
- assert_equal SecondBase::Railtie.fullpath('migrate'), ActiveRecord::Tasks::DatabaseTasks.migrations_paths
+ assert_equal [SecondBase::Railtie.fullpath('migrate')], ActiveRecord::Tasks::DatabaseTasks.migrations_paths
assert_equal SecondBase::Railtie.fullpath, ActiveRecord::Tasks::DatabaseTasks.db_dir
end
refute SecondBase.is_on_base
end