aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/engine/commands_tasks_test.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-01-15 20:15:45 +0100
committerGitHub <noreply@github.com>2017-01-15 20:15:45 +0100
commitf8a3981beb4221c230a2dc366db5fcc5e276f035 (patch)
treecb22b2e410896c7a212744916f9a541a9ac6f444 /railties/test/engine/commands_tasks_test.rb
parent0bc8d0fb88101a7ea5f87df5f5b384746e3cf06e (diff)
parentf5f834fb349c62efdb3db45b8ec392c9f70826f0 (diff)
downloadrails-f8a3981beb4221c230a2dc366db5fcc5e276f035.tar.gz
rails-f8a3981beb4221c230a2dc366db5fcc5e276f035.tar.bz2
rails-f8a3981beb4221c230a2dc366db5fcc5e276f035.zip
Merge pull request #27601 from y-yagi/make_work_all_commands_from_engine
Make all rails commands work in engine
Diffstat (limited to 'railties/test/engine/commands_tasks_test.rb')
-rw-r--r--railties/test/engine/commands_tasks_test.rb24
1 files changed, 0 insertions, 24 deletions
diff --git a/railties/test/engine/commands_tasks_test.rb b/railties/test/engine/commands_tasks_test.rb
deleted file mode 100644
index 817175b9ef..0000000000
--- a/railties/test/engine/commands_tasks_test.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-require "abstract_unit"
-
-class Rails::Engine::CommandsTasksTest < ActiveSupport::TestCase
- def setup
- @destination_root = Dir.mktmpdir("bukkits")
- Dir.chdir(@destination_root) { `bundle exec rails plugin new bukkits --mountable` }
- end
-
- def teardown
- FileUtils.rm_rf(@destination_root)
- end
-
- def test_help_command_work_inside_engine
- output = capture(:stderr) do
- Dir.chdir(plugin_path) { `bin/rails --help` }
- end
- assert_no_match "NameError", output
- end
-
- private
- def plugin_path
- "#{@destination_root}/bukkits"
- end
-end