mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
README.rdoc is a template
This commit is contained in:
@@ -16,7 +16,7 @@ module Rails
|
||||
end
|
||||
|
||||
def readme
|
||||
copy_file "README.rdoc"
|
||||
template "README.rdoc"
|
||||
end
|
||||
|
||||
def gemfile
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user