Module: RSpecAdapter
- Included in:
- Quarantine
- Defined in:
- lib/quarantine/rspec_adapter.rb
Instance Method Summary collapse
-
#bind(options = {}) ⇒ Object
Purpose: create an instance of Quarantine which contains information about the test suite (ie. quarantined tests) and binds RSpec configurations and hooks onto the global RSpec class.
Instance Method Details
#bind(options = {}) ⇒ Object
Purpose: create an instance of Quarantine which contains information
about the test suite (ie. quarantined tests) and binds RSpec configurations
and hooks onto the global RSpec class
5 6 7 8 9 10 11 12 |
# File 'lib/quarantine/rspec_adapter.rb', line 5 def bind( = {}) quarantine = Quarantine.new() bind_rspec_configurations bind_quarantine_list(quarantine) bind_quarantine_checker(quarantine) bind_quarantine_record_tests(quarantine) bind_logger(quarantine) end |