Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README.rdoc is a template

  • Loading branch information...
commit bbcdc864a693fc7a5cdaa82829cd6c1efac16ef1 1 parent a9163b5
@spastorino spastorino authored
View
2  railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb
@@ -16,7 +16,7 @@ def app
end
def readme
- copy_file "README.rdoc"
+ template "README.rdoc"
end
def gemfile
View
1  railties/test/generators/plugin_new_generator_test.rb
@@ -40,6 +40,7 @@ def test_invalid_plugin_name_is_fixed
def test_generating_without_options
run_generator
+ assert_file "README.rdoc", /Bukkits/
assert_no_file "config/routes.rb"
assert_file "test/test_helper.rb"
assert_file "test/bukkits_test.rb", /assert_kind_of Module, Bukkits/
Please sign in to comment.
Something went wrong with that request. Please try again.