From 4913356c54df078b6f406523503034ebda549a5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vesa=20V=C3=A4nsk=C3=A4?= Date: Sun, 17 Jun 2012 15:58:53 +0300 Subject: [PATCH] Fixes bug with test running setup in Ruby 1.8 This bug was introduced in 1fad7d72b2d6db59bdc1db76cc66cbbf5e5b9364. --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index bb34cfb..66e371a 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,4 +1,4 @@ -if RUBY_ENGINE == "ruby" +if defined? RUBY_ENGINE && RUBY_ENGINE == "ruby" require "simplecov" SimpleCov.start end