1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00
heartcombo--simple_form/bin/test
Felipe Renan dbe6e80c84 Add bin/test to improve test runner features
This setup is based on how Rails does that.

See more about it here: https://github.com/plataformatec/devise/pull/5014
2019-01-30 14:04:39 -02:00

11 lines
306 B
Ruby
Executable file

#!/usr/bin/env ruby
$: << File.expand_path(File.expand_path('../../test', __FILE__))
require 'bundler/setup'
require 'rails/test_unit/runner'
require 'rails/test_unit/reporter'
Rails::TestUnitReporter.executable = 'bin/test'
Rails::TestUnit::Runner.parse_options(ARGV)
Rails::TestUnit::Runner.run(ARGV)