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

Version Path
candlepin-api-0.4.0 bundle/ruby/gems/cucumber-1.2.1/spec/spec_helper.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/cucumber-1.2.1/spec/spec_helper.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/cucumber-1.2.1/spec/spec_helper.rb
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/spec/spec_helper.rb
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/spec/spec_helper.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/spec/spec_helper.rb
casecumber-1.2.1.cb2 spec/spec_helper.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/spec/spec_helper.rb
cucumber-1.2.1 spec/spec_helper.rb
ftl-0.2.0 vendor/bundle/gems/cucumber-1.2.0/spec/spec_helper.rb
cucumber-1.2.0 spec/spec_helper.rb