From 59f9a9dafb6f182f42f4ebc75be70a2879e1835f Mon Sep 17 00:00:00 2001 From: Yann Lugrin Date: Thu, 21 Oct 2010 20:57:52 +0800 Subject: [PATCH] guard notification work when guard guard --- spec/spec_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index fd68ace..fe70582 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -13,5 +13,9 @@ RSpec.configure do |config| ENV["GUARD_ENV"] = 'test' @fixture_path = Pathname.new(File.expand_path('../fixtures/', __FILE__)) end + + config.after(:each) do + ENV["GUARD_ENV"] = nil + end end \ No newline at end of file