diff options
author | Yoshiyuki Hirano <yhirano@me.com> | 2017-08-07 18:10:31 +0900 |
---|---|---|
committer | Yoshiyuki Hirano <yhirano@me.com> | 2017-08-09 07:21:37 +0900 |
commit | 59f93bbce79407c64636280dc9dfe1170f8b5078 (patch) | |
tree | 8fa8d3cf427e6f9c9607340e2704b39c4cda0d0c /railties/test | |
parent | 220049fb32152aa3e1124f77c3d7ee8d0347a9ed (diff) | |
download | rails-59f93bbce79407c64636280dc9dfe1170f8b5078.tar.gz rails-59f93bbce79407c64636280dc9dfe1170f8b5078.tar.bz2 rails-59f93bbce79407c64636280dc9dfe1170f8b5078.zip |
Add git_source to Gemfile for plugin generator
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/plugin_generator_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/test/generators/plugin_generator_test.rb b/railties/test/generators/plugin_generator_test.rb index 1dfff38543..0782e1ad1d 100644 --- a/railties/test/generators/plugin_generator_test.rb +++ b/railties/test/generators/plugin_generator_test.rb @@ -82,6 +82,11 @@ class PluginGeneratorTest < Rails::Generators::TestCase assert_file "test/integration/navigation_test.rb", /ActionDispatch::IntegrationTest/ end + def test_inclusion_of_git_source + run_generator [destination_root] + assert_file "Gemfile", /git_source/ + end + def test_inclusion_of_a_debugger run_generator [destination_root, "--full"] if defined?(JRUBY_VERSION) || RUBY_ENGINE == "rbx" |