aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-01-11 14:53:37 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-01-13 14:33:53 -0800
commita85625dacfe7782148f7566c199d562c8acb71c0 (patch)
treeb08f2eef9d9630fe3ea70af84ec48a38aafd0a07 /activerecord/test/migrations
parent452195af2c9c0502e73ca1ba48d7e6bda071c2ac (diff)
downloadrails-a85625dacfe7782148f7566c199d562c8acb71c0.tar.gz
rails-a85625dacfe7782148f7566c199d562c8acb71c0.tar.bz2
rails-a85625dacfe7782148f7566c199d562c8acb71c0.zip
instantiate our own broken migration rather than relying on the filesystem
Diffstat (limited to 'activerecord/test/migrations')
-rw-r--r--activerecord/test/migrations/broken/100_migration_that_raises_exception.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/activerecord/test/migrations/broken/100_migration_that_raises_exception.rb b/activerecord/test/migrations/broken/100_migration_that_raises_exception.rb
deleted file mode 100644
index ffb224dad9..0000000000
--- a/activerecord/test/migrations/broken/100_migration_that_raises_exception.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class MigrationThatRaisesException < ActiveRecord::Migration
- def self.up
- add_column "people", "last_name", :string
- raise 'Something broke'
- end
-
- def self.down
- remove_column "people", "last_name"
- end
-end