module Spec::Matchers::Migration
Public Instance Methods
be_primary_key()
click to toggle source
# File lib/spec/matchers/migration_matchers.rb, line 17 def be_primary_key PrimaryKeyMatcher.new end
have_column(column_name)
click to toggle source
# File lib/spec/matchers/migration_matchers.rb, line 9 def have_column(column_name) HaveColumnMatcher.new(column_name) end
have_table(table_name)
click to toggle source
# File lib/spec/matchers/migration_matchers.rb, line 5 def have_table(table_name) HaveTableMatcher.new(table_name) end
permit_null()
click to toggle source
# File lib/spec/matchers/migration_matchers.rb, line 13 def permit_null NullableColumnMatcher.new end