module ActiveModel::Lint::Tests
def assert_boolean(result, name)
def assert_boolean(result, name) assert result == true || result == false, "#{name} should be a boolean" end
def assert_boolean(result, name) assert result == true || result == false, "#{name} should be a boolean" end