Sha256: b7ef6668a208f128d25377f4e5d17764eb6d5ecdd57fa39667b8b91a6debad17
Contents?: true
Size: 662 Bytes
Versions: 3
Compression:
Stored size: 662 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 '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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cucumber-2.0.0.beta.3 | spec/spec_helper.rb |
cucumber-2.0.0.beta.2 | spec/spec_helper.rb |
cucumber-2.0.0.beta.1 | spec/spec_helper.rb |