Sha256: 23493df25ab6d0c6b6a7acff212dce3fdfd4def07514d9942dfebb954079b192

Contents?: true

Size: 552 Bytes

Versions: 11

Compression:

Stored size: 552 Bytes

Contents

ENV['CUCUMBER_COLORS'] = nil
$:.unshift(File.dirname(__FILE__))

# For Travis....
require 'cucumber/encoding'

require 'simplecov_setup'

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

11 entries across 11 versions & 2 rubygems

Version Path
cucumber-2.99.0 spec/spec_helper.rb
mobiusloop-0.1.5 spec/spec_helper.rb
cucumber-2.4.0 spec/spec_helper.rb
mobiusloop-0.1.3 spec/spec_helper.rb
mobiusloop-0.1.2 spec/spec_helper.rb
cucumber-2.3.3 spec/spec_helper.rb
cucumber-2.3.2 spec/spec_helper.rb
cucumber-2.3.1 spec/spec_helper.rb
cucumber-2.3.0 spec/spec_helper.rb
cucumber-2.2.0 spec/spec_helper.rb
cucumber-2.1.0 spec/spec_helper.rb