failure_message()
click to toggle source
def failure_message
%(expected #{repository} to have table '#{table_name}')
end
matches?(repository)
click to toggle source
def matches?(repository)
repository.adapter.storage_exists?(table_name)
end
negative_failure_message()
click to toggle source
def negative_failure_message
%(expected #{repository} to not have table '#{table_name}')
end