Module: Rollbacker::SpecHelpers
- Includes:
- Status
- Defined in:
- lib/rollbacker/spec_helpers.rb
Class Method Summary collapse
Methods included from Status
#disable_rollbacker!, #enable_rollbacker!, #rollbacker_as, #rollbacker_disabled?, #rollbacker_enabled?, #with_rollbacker, #without_rollbacker
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/rollbacker/spec_helpers.rb', line 5 def self.included(base) base.class_eval do before(:each) do disable_rollbacker! end after(:each) do enable_rollbacker! end end end |