Module: Grant::SpecHelpers
- Includes:
- Status
- Defined in:
- lib/grant/spec_helpers.rb
Class Method Summary collapse
Methods included from Status
disable_grant, do_as, enable_grant, grant_disabled?, grant_enabled?, switch_to_monothread, switch_to_multithread, with_grant, without_grant
Class Method Details
.included(base) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/grant/spec_helpers.rb', line 7 def self.included(base) base.class_eval do before(:each) do disable_grant end after(:each) do enable_grant end end end |