Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ensure original configuration remains after failed tests

  • Loading branch information...
commit a0c8da8846326a9dfea76be3dd8bb2a48679955f 1 parent a535857
@nbibler nbibler authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  spec/support/configuration.rb
View
1  spec/support/configuration.rb
@@ -7,6 +7,7 @@ def with_configuration(&block)
old_configuration = HireFire.configuration
HireFire.configuration = HireFire::Configuration.new
yield(HireFire.configuration)
+ ensure
HireFire.configuration = old_configuration
end
Please sign in to comment.
Something went wrong with that request. Please try again.