aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/app_generator_test.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-01-13 10:23:09 -0700
committerSean Griffin <sean@thoughtbot.com>2015-01-13 10:24:10 -0700
commit0b2e0528df36bcef4aca62b86f55e1ea85604cd8 (patch)
tree800e5fb48592f4b690a643f06120c538622bc039 /railties/test/generators/app_generator_test.rb
parent1302edf3e53a2322e3496588c0c06e7e882d3cc6 (diff)
downloadrails-0b2e0528df36bcef4aca62b86f55e1ea85604cd8.tar.gz
rails-0b2e0528df36bcef4aca62b86f55e1ea85604cd8.tar.bz2
rails-0b2e0528df36bcef4aca62b86f55e1ea85604cd8.zip
Add the `method_source` gem to the default Gemfile
Fixes #18473
Diffstat (limited to 'railties/test/generators/app_generator_test.rb')
-rw-r--r--railties/test/generators/app_generator_test.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index 40fd7b77f1..5d270555ed 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -409,6 +409,13 @@ class AppGeneratorTest < Rails::Generators::TestCase
end
end
+ def test_inclusion_of_method_source
+ run_generator
+ assert_file "Gemfile" do |content|
+ assert_gem 'method_source'
+ end
+ end
+
def test_inclusion_of_doc
run_generator
assert_file 'Gemfile', /gem 'sdoc',\s+'~> 0.4.0',\s+group: :doc/