spec/spec_helper.rb in schema_plus-2.0.0.pre6 vs spec/spec_helper.rb in schema_plus-2.0.0.pre7
- old
+ new
@@ -40,10 +40,10 @@
def define_schema(config={}, &block)
with_fk_config(config) do
ActiveRecord::Migration.suppress_messages do
ActiveRecord::Schema.define do
connection.tables.each do |table|
- drop_table table, :cascade => true
+ drop_table table, force: :cascade
end
instance_eval &block
end
end
end