method
assert_field_default_value
v3.0.0 -
Show latest stable
- Class:
Rails::Generators::TestCase
assert_field_default_value(attribute_type, value)public
Asserts the given attribute type gets a proper default value:
assert_field_type :string, "MyString"