Skip to content
Browse files

Merge branch 'master' of github.com:lifo/docrails

  • Loading branch information...
2 parents f28f1d7 + cf03daa commit bdac19e6c8bf7b2a6c9f06e5b57116e94f9b2810 @Jakanapes Jakanapes committed Apr 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails/generators/test_case.rb
View
4 railties/lib/rails/generators/test_case.rb
@@ -135,7 +135,7 @@ def assert_migration(relative, *contents, &block)
# Asserts a given migration does not exist. You need to supply an absolute path or a
# path relative to the configured destination:
#
- # assert_no_file "config/random.rb"
+ # assert_no_migration "db/migrate/create_products.rb"
#
def assert_no_migration(relative)
file_name = migration_file_name(relative)
@@ -182,7 +182,7 @@ def assert_field_type(attribute_type, field_type)
# Asserts the given attribute type gets a proper default value:
#
- # assert_field_type :string, "MyString"
+ # assert_field_default_value :string, "MyString"
#
def assert_field_default_value(attribute_type, value)
assert_equal(value, create_generated_attribute(attribute_type).default)

0 comments on commit bdac19e

Please sign in to comment.
Something went wrong with that request. Please try again.