Sha256: 67e9ebae6461838c7b613f3763a783481478adf3f2f824341f061efe7bf7bacb

Contents?: true

Size: 321 Bytes

Versions: 52

Compression:

Stored size: 321 Bytes

Contents

module ConfigOptionsHelper
  extend RSpec::SharedContext

  around(:each) { |e| without_env_vars('SPEC_OPTS', &e) }

  def config_options_object(*args)
    coo = RSpec::Core::ConfigurationOptions.new(args)
    coo.parse_options
    coo
  end

  def parse_options(*args)
    config_options_object(*args).options
  end
end

Version data entries

52 entries across 52 versions & 13 rubygems

Version Path
tuktuk-rails-0.0.10 vendor/bundle/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/config_options_helper.rb
tuktuk-rails-0.0.9 vendor/bundle/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/config_options_helper.rb
tuktuk-rails-0.0.8 vendor/bundle/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/config_options_helper.rb
tuktuk-rails-0.0.7 vendor/bundle/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/config_options_helper.rb
dxruby_rp5-0.0.2 spec/vendor/rspec-core-2.14.7/spec/support/config_options_helper.rb
dxruby_rp5-0.0.1 spec/vendor/rspec-core-2.14.7/spec/support/config_options_helper.rb
mango-0.7.0 vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/config_options_helper.rb
rspec-core-3.0.0.beta1 spec/support/config_options_helper.rb
rspec-core-2.99.0.beta1 spec/support/config_options_helper.rb
rspec-core-2.14.7 spec/support/config_options_helper.rb
rspec-core-2.14.6 spec/support/config_options_helper.rb
clickable_link-0.0.2 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.14.5/spec/support/config_options_helper.rb
syllable_counter-1.0.0 vendor/bundle/gems/rspec-core-2.14.5/spec/support/config_options_helper.rb
rspec-core-2.14.5 spec/support/config_options_helper.rb
rspec-core-2.14.4 spec/support/config_options_helper.rb
rspec-core-2.14.3 spec/support/config_options_helper.rb
rspec-core-2.14.2 spec/support/config_options_helper.rb
rspec-core-2.14.1 spec/support/config_options_helper.rb
rspec-core-2.14.0 spec/support/config_options_helper.rb
sshp-0.0.2 vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/config_options_helper.rb