spec/spec_helper.rb in phonetic-1.1.0 vs spec/spec_helper.rb in phonetic-1.2.0
- old
+ new
@@ -1,13 +1,14 @@
require 'coveralls'
require 'simplecov'
-if Coveralls.should_run?
- Coveralls.wear!
-else
- SimpleCov.start
+if RUBY_ENGINE == 'ruby'
+ if Coveralls.should_run?
+ Coveralls.wear!
+ else
+ SimpleCov.start
+ end
end
-
require 'phonetic'
RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true