spec/spec_helper.rb in schema_plus-1.0.1 vs spec/spec_helper.rb in schema_plus-1.1.0
- old
+ new
@@ -36,10 +36,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
+ drop_table table, :cascade => true
end
instance_eval &block
end
end
end