class MigrationTest::MockMigration
Attributes
went_down[R]
went_up[R]
Public Class Methods
new()
click to toggle source
# File activerecord/test/cases/migration_test.rb, line 235 def initialize @went_up = false @went_down = false end
Public Instance Methods
down()
click to toggle source
Calls superclass method
ActiveRecord::Migration#down
# File activerecord/test/cases/migration_test.rb, line 245 def down @went_down = true super end
up()
click to toggle source
Calls superclass method
ActiveRecord::Migration#up
# File activerecord/test/cases/migration_test.rb, line 240 def up @went_up = true super end