Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@ def change
end
}.new

migration.migrate(:up)
ActiveRecord::Migration.suppress_messages do
migration.migrate(:up)
end
expect(@conn.table_exists?(:new_test_employees)).to be_truthy
expect(@conn.table_exists?(:test_employees)).not_to be_truthy

migration.migrate(:down)
ActiveRecord::Migration.suppress_messages do
migration.migrate(:down)
end
expect(@conn.table_exists?(:new_test_employees)).not_to be_truthy
expect(@conn.table_exists?(:test_employees)).to be_truthy
end
Expand Down