silence AR migration noise during specs.
This commit is contained in:
parent
72d3d33ca7
commit
ace44975d1
|
@ -1,11 +1,13 @@
|
|||
def active_record_load_schema
|
||||
ActiveRecord::Schema.define do
|
||||
create_table :users, :force => true do |t|
|
||||
t.integer :name
|
||||
end
|
||||
ActiveRecord::Migration.suppress_messages do
|
||||
ActiveRecord::Schema.define do
|
||||
create_table :users, :force => true do |t|
|
||||
t.integer :name
|
||||
end
|
||||
|
||||
create_table :agents, :id => false, :force => true do |t|
|
||||
t.integer :name
|
||||
create_table :agents, :id => false, :force => true do |t|
|
||||
t.integer :name
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue