aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
diff options
context:
space:
mode:
authorRyo Hashimoto <ryohashimoto@gmail.com>2016-02-13 14:14:23 +0900
committerRyo Hashimoto <ryohashimoto@gmail.com>2016-02-26 19:35:23 +0900
commiteaec958630ea53cddb84ef4746b23bcd917ba45d (patch)
tree32332447110640ccf548c9e839c99014f62e65e9 /railties/test/application
parent56ca2061df83a307943a0ffdfe6f5f4ed5846cf7 (diff)
downloadrails-eaec958630ea53cddb84ef4746b23bcd917ba45d.tar.gz
rails-eaec958630ea53cddb84ef4746b23bcd917ba45d.tar.bz2
rails-eaec958630ea53cddb84ef4746b23bcd917ba45d.zip
The tasks in the rails task namespace is deprecated in favor of app namespace.
(e.g. `rails:update` and `rails:template` tasks is renamed to `app:update` and `app:template`.)
Diffstat (limited to 'railties/test/application')
-rw-r--r--railties/test/application/rake_test.rb4
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)