README.rdoc is a template

This commit is contained in:
Santiago Pastorino
2011-01-15 04:13:43 -02:00
parent a9163b547c
commit bbcdc864a6
2 changed files with 2 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ module Rails
end
def readme
copy_file "README.rdoc"
template "README.rdoc"
end
def gemfile

View File

@@ -40,6 +40,7 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase
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/