mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Add a bin/test executable to use Rails 5 Minitest report.
This commit is contained in:
parent
e6563bc4cb
commit
ccda4692b4
2 changed files with 14 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ before_install: "rm ${BUNDLE_GEMFILE}.lock"
|
||||||
|
|
||||||
before_script: "bundle update"
|
before_script: "bundle update"
|
||||||
|
|
||||||
script: "bundle exec rake test"
|
script: "bin/test"
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
|
||||||
13
bin/test
Executable file
13
bin/test
Executable file
|
|
@ -0,0 +1,13 @@
|
||||||
|
#!/usr/bin/env ruby
|
||||||
|
$: << File.expand_path(File.expand_path('../../test', __FILE__))
|
||||||
|
|
||||||
|
require 'bundler/setup'
|
||||||
|
begin
|
||||||
|
require 'rails/test_unit/minitest_plugin'
|
||||||
|
rescue LoadError
|
||||||
|
exec 'rake'
|
||||||
|
end
|
||||||
|
|
||||||
|
Rails::TestUnitReporter.executable = 'bin/test'
|
||||||
|
|
||||||
|
exit Minitest.run(ARGV)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue