Spec::Matchers::Migration

Public Instance Methods

be_primary_key() click to toggle source
    # File lib/spec/matchers/migration_matchers.rb, line 17
17:       def be_primary_key
18:         PrimaryKeyMatcher.new
19:       end
have_column(column_name) click to toggle source
    # File lib/spec/matchers/migration_matchers.rb, line 9
 9:       def have_column(column_name)
10:         HaveColumnMatcher.new(column_name)
11:       end
have_table(table_name) click to toggle source
   # File lib/spec/matchers/migration_matchers.rb, line 5
5:       def have_table(table_name)
6:         HaveTableMatcher.new(table_name)
7:       end
permit_null() click to toggle source
    # File lib/spec/matchers/migration_matchers.rb, line 13
13:       def permit_null
14:         NullableColumnMatcher.new
15:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.