Parent

Spec::Matchers::Migration::NullableColumnMatcher

Attributes

column[RW]

Public Instance Methods

failure_message() click to toggle source
    # File lib/spec/matchers/migration_matchers.rb, line 75
75:         def failure_message
76:           %(expected #{column.name} to permit NULL)
77:         end
matches?(column) click to toggle source
    # File lib/spec/matchers/migration_matchers.rb, line 70
70:         def matches?(column)
71:           @column = column
72:           ! column.not_null
73:         end
negative_failure_message() click to toggle source
    # File lib/spec/matchers/migration_matchers.rb, line 79
79:         def negative_failure_message
80:           %(expected #{column.name} to be NOT NULL)
81:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.