aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2014-01-12 01:12:12 +0100
committerXavier Noria <fxn@hashref.com>2014-01-12 22:18:44 +0100
commit6049249c6c5c2a3078bb0f146168e8f9c0d99bc7 (patch)
treeb643dacd6099c6e228d059e5d573b18297aa1f25 /railties/test/generators
parent20a795f64d8a4f540004d7361f6a02e81eba79bb (diff)
downloadrails-6049249c6c5c2a3078bb0f146168e8f9c0d99bc7.tar.gz
rails-6049249c6c5c2a3078bb0f146168e8f9c0d99bc7.tar.bz2
rails-6049249c6c5c2a3078bb0f146168e8f9c0d99bc7.zip
upgrade SDoc
Kudos to @zzak for taking over SDoc and make it work with RDoc 4.
Diffstat (limited to 'railties/test/generators')
-rw-r--r--railties/test/generators/app_generator_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index be109cc598..43900e0fcf 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -390,9 +390,9 @@ class AppGeneratorTest < Rails::Generators::TestCase
end
end
- def test_inclusion_of_lazy_loaded_sdoc
+ def test_inclusion_of_doc
run_generator
- assert_file 'Gemfile', /gem 'sdoc', \s+group: :doc, require: false/
+ assert_file 'Gemfile', /gem 'sdoc',\s+'~> 0.4.0',\s+group: :doc/
end
def test_template_from_dir_pwd