Module: RSpec::Rerun::Tasks
- Defined in:
- lib/snowy_owl/rspec/rerun.rb
Class Method Summary collapse
Class Method Details
.failed_count ⇒ Object
21 22 23 |
# File 'lib/snowy_owl/rspec/rerun.rb', line 21 def failed_count spec_files.split("\n").count end |
.failing_specs ⇒ Object
17 18 19 |
# File 'lib/snowy_owl/rspec/rerun.rb', line 17 def failing_specs [SnowyOwl.spec_file] end |
.rerun(args) ⇒ Object
25 26 27 28 |
# File 'lib/snowy_owl/rspec/rerun.rb', line 25 def rerun(args) ENV['PLOTS_SCOPE'] = spec_files Rake::Task['rspec-rerun:rerun'].execute(args) end |