Sha256: 9f1c9cefe892c664c2770e7d970b1c427c100a74b599af33aa5c0d0d314b145b
Contents?: true
Size: 677 Bytes
Versions: 6
Compression:
Stored size: 677 Bytes
Contents
ENV['CUCUMBER_COLORS'] = nil $:.unshift(File.dirname(__FILE__)) # For Travis.... if defined? Encoding Encoding.default_external = 'utf-8' Encoding.default_internal = 'utf-8' end load File.expand_path(File.dirname(__FILE__) + '/../spec/simplecov_setup.rb') require 'pry' require 'cucumber' RSpec.configure do |c| c.before do ::Cucumber::Term::ANSIColor.coloring = true end end module RSpec module WorkInProgress def pending_under(platforms, reason, &block) if [platforms].flatten.map(&:to_s).include? RUBY_PLATFORM pending "pending under #{platforms.inspect} because: #{reason}", &block else yield end end end end
Version data entries
6 entries across 6 versions & 1 rubygems