aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2017-08-20 21:28:56 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2017-08-20 21:28:56 +0300
commit911d100899444b2c9e10319f8310dc289054b161 (patch)
treeb85be57b443c8d9258e4639e0e0544e120c626e5 /activestorage
parentdcf7fc1047946e6759c8346a331718e5555f04f1 (diff)
downloadrails-911d100899444b2c9e10319f8310dc289054b161.tar.gz
rails-911d100899444b2c9e10319f8310dc289054b161.tar.bz2
rails-911d100899444b2c9e10319f8310dc289054b161.zip
Add executable file `activestorage/bin/test`
``` rails$ cd activestorage/ rails/activestorage$ bin/test ........(compressed).... rails/activestorage$ bin/test test/controllers/disk_controller_test.rb .(compressed).. rails/activestorage$ bin/test test/controllers/disk_controller_test.rb:42 . ```
Diffstat (limited to 'activestorage')
-rwxr-xr-xactivestorage/bin/test5
1 files changed, 5 insertions, 0 deletions
diff --git a/activestorage/bin/test b/activestorage/bin/test
new file mode 100755
index 0000000000..c53377cc97
--- /dev/null
+++ b/activestorage/bin/test
@@ -0,0 +1,5 @@
+#!/usr/bin/env ruby
+# frozen_string_literal: true
+
+COMPONENT_ROOT = File.expand_path("..", __dir__)
+require_relative "../../tools/test"