spec/spec_helper.rb in usagewatch_ext-0.0.2 vs spec/spec_helper.rb in usagewatch_ext-0.0.3

- old
+ new

@@ -1,10 +1,17 @@ require 'rubygems' require 'bundler/setup' -require 'usagewatch' -require 'usagewatch_ext' require 'coveralls' Coveralls.wear! + +os = RUBY_PLATFORM +if os.include? "darwin" + require "usagewatch_ext" + puts "Testing Mac Version" +elsif os.include? "linux" + require "usagewatch" + puts "Testing Linux Version" +end RSpec.configure do |config| end