aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2015-12-17 12:44:13 -0200
committerRafael França <rafaelmfranca@gmail.com>2015-12-17 12:44:13 -0200
commit529d05fed1737d30058339318626a32dc37ec463 (patch)
tree772e34253f0c5f302153544763603d63d8814d28 /railties/test
parent7090192267691840009a636fd4e790cbd7eb60a8 (diff)
parentf34beb52e22e3e6f86f3f886f6c5d93b040013d9 (diff)
downloadrails-529d05fed1737d30058339318626a32dc37ec463.tar.gz
rails-529d05fed1737d30058339318626a32dc37ec463.tar.bz2
rails-529d05fed1737d30058339318626a32dc37ec463.zip
Merge pull request #22068 from y-yagi/change_default_to_markdown
README.rdoc -> README.md for newly generated plugins
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/generators/plugin_generator_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/generators/plugin_generator_test.rb b/railties/test/generators/plugin_generator_test.rb
index 60390cfa01..057561070f 100644
--- a/railties/test/generators/plugin_generator_test.rb
+++ b/railties/test/generators/plugin_generator_test.rb
@@ -6,7 +6,7 @@ DEFAULT_PLUGIN_FILES = %w(
.gitignore
Gemfile
Rakefile
- README.rdoc
+ README.md
bukkits.gemspec
MIT-LICENSE
lib
@@ -58,7 +58,7 @@ class PluginGeneratorTest < Rails::Generators::TestCase
def test_generating_without_options
run_generator
- assert_file "README.rdoc", /Bukkits/
+ assert_file "README.md", /Bukkits/
assert_no_file "config/routes.rb"
assert_no_file "app/assets/config/bukkits_manifest.js"
assert_file "test/test_helper.rb" do |content|
@@ -386,7 +386,7 @@ class PluginGeneratorTest < Rails::Generators::TestCase
def test_creating_gemspec
run_generator
assert_file "bukkits.gemspec", /s.name\s+= "bukkits"/
- assert_file "bukkits.gemspec", /s.files = Dir\["\{app,config,db,lib\}\/\*\*\/\*", "MIT-LICENSE", "Rakefile", "README\.rdoc"\]/
+ assert_file "bukkits.gemspec", /s.files = Dir\["\{app,config,db,lib\}\/\*\*\/\*", "MIT-LICENSE", "Rakefile", "README\.md"\]/
assert_file "bukkits.gemspec", /s.version\s+ = Bukkits::VERSION/
end