bin/test for Active Job and Action Cable tests

According to the commit comment on 54d84cbb77, AJ/bin/test was intentionally not added,
but AJ tests doesn't actually do anything special other than specifying ENV['AJ_ADAPTER'],
which can be easily done via command line environment variable.
This commit is contained in:
Akira Matsuda 2017-02-02 16:06:19 +09:00
parent 65bf1c6005
commit c684f4f3da
2 changed files with 8 additions and 0 deletions

4
actioncable/bin/test Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env ruby
COMPONENT_ROOT = File.expand_path("..", __dir__)
require File.expand_path("../tools/test", COMPONENT_ROOT)

4
activejob/bin/test Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env ruby
COMPONENT_ROOT = File.expand_path("..", __dir__)
require File.expand_path("../tools/test", COMPONENT_ROOT)