Class: Spinoff::TestRunner::RSpec
- Inherits:
-
Object
- Object
- Spinoff::TestRunner::RSpec
- Defined in:
- lib/spinoff/test_runner/rspec.rb
Instance Method Summary collapse
Instance Method Details
#<<(files) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/spinoff/test_runner/rspec.rb', line 6 def <<(files) # Overwrite the trap_interrupt method to avoid weird behaviour # on SIGINT. ::RSpec::Core::Runner.class_eval do def self.trap_interrupt; end end ::RSpec::Core::Runner.run(files) end |