diff options
author | Patrick Sharp <jakanapes@gmail.com> | 2012-04-09 08:54:22 -0500 |
---|---|---|
committer | Patrick Sharp <jakanapes@gmail.com> | 2012-04-09 08:54:22 -0500 |
commit | bdac19e6c8bf7b2a6c9f06e5b57116e94f9b2810 (patch) | |
tree | c50128aa7c0c19e090fb9fea7eaaf0c7a5b76e27 | |
parent | f28f1d70b3f3dd9f694067f7cab2e717e302ee2b (diff) | |
parent | cf03daa5f509e48cf03897163471f3064cf2f5eb (diff) | |
download | rails-bdac19e6c8bf7b2a6c9f06e5b57116e94f9b2810.tar.gz rails-bdac19e6c8bf7b2a6c9f06e5b57116e94f9b2810.tar.bz2 rails-bdac19e6c8bf7b2a6c9f06e5b57116e94f9b2810.zip |
Merge branch 'master' of github.com:lifo/docrails
-rw-r--r-- | railties/lib/rails/generators/test_case.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/test_case.rb b/railties/lib/rails/generators/test_case.rb index d81c4c3e1d..2cb34fab7a 100644 --- a/railties/lib/rails/generators/test_case.rb +++ b/railties/lib/rails/generators/test_case.rb @@ -135,7 +135,7 @@ module Rails # 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 @@ module Rails # 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) |