diff --git a/regression/regression_helper.rb b/regression/regression_helper.rb index 875b41a7d..1ffd1e8c6 100644 --- a/regression/regression_helper.rb +++ b/regression/regression_helper.rb @@ -42,7 +42,7 @@ def app end config.after(:each) do | example, something | - if ENV["SHOW_REGRESSION_DIFF"] != "false" + if ENV["SHOW_REGRESSION_DIFF"] == "true" if example.exception.is_a?(Approvals::ApprovalError) require "pact/support" parts = example.exception.message.split('"')