spec/spec_helper.rb in grim-1.1.0 vs spec/spec_helper.rb in grim-1.2.0
- old
+ new
@@ -1,9 +1,10 @@
# encoding: UTF-8
require 'benchmark'
require 'rubygems'
require 'bundler/setup'
+require 'rbconfig'
require 'grim'
module FileHelpers
def dimensions_for_path(path)
@@ -26,6 +27,7 @@
end
end
RSpec.configure do |config|
config.include(FileHelpers)
+ config.filter_run_excluding :windows => true if RbConfig::CONFIG['host_os'].match(/mswin|mingw|cygwin/) == nil
end
\ No newline at end of file