Sha256: 50c7b91afcc04462b7365d3c5eb97474ae20b793628aaa70c10ff88fbfe3deff
Contents?: true
Size: 719 Bytes
Versions: 11
Compression:
Stored size: 719 Bytes
Contents
ENV['CUCUMBER_COLORS']=nil $:.unshift(File.dirname(__FILE__) + '/../lib') $:.unshift(File.dirname(__FILE__)) # For Travis.... if defined? Encoding Encoding.default_external = 'utf-8' Encoding.default_internal = 'utf-8' end require 'rubygems' require 'bundler' Bundler.setup require 'cucumber' $KCODE='u' unless Cucumber::RUBY_1_9 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
11 entries across 9 versions & 5 rubygems