diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-02-27 15:14:56 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-02-27 15:14:56 +0100 |
commit | 6fb31638c8b61731103d4963272755b217a2df87 (patch) | |
tree | aab6304c09234b82c2eb32a4423eca65b4717ae9 /railties/test | |
parent | 5cb307d85913e47f449b93a4a3ab374cdc0dad52 (diff) | |
parent | eaec958630ea53cddb84ef4746b23bcd917ba45d (diff) | |
download | rails-6fb31638c8b61731103d4963272755b217a2df87.tar.gz rails-6fb31638c8b61731103d4963272755b217a2df87.tar.bz2 rails-6fb31638c8b61731103d4963272755b217a2df87.zip |
Merge pull request #23439 from ryohashimoto/160203_rake_rails
Use app namespace for framework tasks
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/rake_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index 3db467256e..92ae3edc08 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -369,7 +369,7 @@ module ApplicationTests def test_copy_templates Dir.chdir(app_path) do - `bin/rails rails:templates:copy` + `bin/rails app:templates:copy` %w(controller mailer scaffold).each do |dir| assert File.exist?(File.join(app_path, 'lib', 'templates', 'erb', dir)) end @@ -384,7 +384,7 @@ module ApplicationTests app_file "template.rb", "" output = Dir.chdir(app_path) do - `bin/rails rails:template LOCATION=template.rb` + `bin/rails app:template LOCATION=template.rb` end assert_match(/Hello, World!/, output) |