Sha256: ab158ef198d900f7f8c268c372ad3e2c9b67ec86428446b2cfa2eb86196b2d5a

Contents?: true

Size: 829 Bytes

Versions: 4

Compression:

Stored size: 829 Bytes

Contents

unless defined?(RSpec::Matchers.all)
  module RSpec
    module Matchers
      # aruba assumes this is defined
      def all
      end

      # aruba doesn't alias this itself on 2.99
      def an_output_string_including(partial)
        match partial
      end
    end
  end
end

require 'aruba/cucumber'

Before do
  if RUBY_PLATFORM =~ /java/
    @aruba_timeout_seconds = 30
  else
    @aruba_timeout_seconds = 10
  end
end

Aruba.configure do |config|
  config.before_cmd do |cmd|
    set_env('JRUBY_OPTS', "-X-C #{ENV['JRUBY_OPTS']}") # disable JIT since these processes are so short lived
  end
end if RUBY_PLATFORM == 'java'

Aruba.configure do |config|
  config.before_cmd do |cmd|
    set_env('RBXOPT', "-Xint=true #{ENV['RBXOPT']}") # disable JIT since these processes are so short lived
  end
end if defined?(Rubinius)

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/rspec-collection_matchers-1.2.1/features/support/env.rb
rspec-collection_matchers-1.2.1 features/support/env.rb
rspec-collection_matchers-1.2.0 features/support/env.rb
rspec-collection_matchers-1.1.3 features/support/env.rb