aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/rake/templates_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test/application/rake/templates_test.rb')
-rw-r--r--railties/test/application/rake/templates_test.rb32
1 files changed, 0 insertions, 32 deletions
diff --git a/railties/test/application/rake/templates_test.rb b/railties/test/application/rake/templates_test.rb
deleted file mode 100644
index 1fca80debd..0000000000
--- a/railties/test/application/rake/templates_test.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-require "isolation/abstract_unit"
-
-module ApplicationTests
- module RakeTests
- class TemplatesTest < ActiveSupport::TestCase
- include ActiveSupport::Testing::Isolation
-
- def setup
- build_app
- require "rails/all"
- super
- end
-
- def teardown
- super
- teardown_app
- end
-
- def test_rake_template
- Dir.chdir(app_path) do
- cmd = "bundle exec rake rails:template LOCATION=foo"
- r,w = IO.pipe
- Process.waitpid Process.spawn(cmd, out: w, err: w)
- w.close
- assert_match(/Could not find.*foo/, r.read)
- r.close
- end
- end
- end
- end
-end
-