Module: NitroConfig::Rspec

Defined in:
lib/nitro_config/rspec.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



16
17
18
19
20
21
22
# File 'lib/nitro_config/rspec.rb', line 16

def self.included(base)
  base.around(:each) do |example|
    NitroConfig.config.preserve! do
      example.run
    end
  end
end