| Module | MigrationTestHelper |
| In: |
lib/migration_test_helper.rb
|
verifies the schema exactly matches the one specified (schema_info does not have to be specified)
assert_schema do |s|
s.table :dogs do |t|
t.column :id, :integer, :default => 2
t.column :name, :string
end
end
verifies a single table exactly matches the one specified
assert_table :dogs do |t|
t.column :id, :integer, :default => 2
t.column :name, :string
end