Sha256: eb825661da207bedc27baf26a757800972b90d71095c0227e159fa231f751457

Contents?: true

Size: 634 Bytes

Versions: 13

Compression:

Stored size: 634 Bytes

Contents

require 'tempfile'
require File.dirname(__FILE__) + '/../../spec/ruby_forker'
require File.dirname(__FILE__) + '/matchers/smart_match'

$:.push File.join(File.dirname(__FILE__), "/../../lib")
require 'spec/expectations'
require 'spec/matchers'

module RspecWorld
  include Spec::Expectations
  include Spec::Matchers
  include RubyForker

  def spec(args, stderr)
    ruby("#{File.dirname(__FILE__) + '/../../bin/spec'} #{args}", stderr)
  end

  def cmdline(args, stderr)
    ruby("#{File.dirname(__FILE__) + '/../../resources/helpers/cmdline.rb'} #{args}", stderr)
  end
end

World do |world|
  world.extend(RspecWorld)
  world
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
dchelimsky-rspec-1.1.99.1 features/support/env.rb
dchelimsky-rspec-1.1.99.13 features/support/env.rb
dchelimsky-rspec-1.1.99.2 features/support/env.rb
dchelimsky-rspec-1.1.99.3 features/support/env.rb
dchelimsky-rspec-1.1.99.4 features/support/env.rb
dchelimsky-rspec-1.1.99.5 features/support/env.rb
dchelimsky-rspec-1.1.99.6 features/support/env.rb
dchelimsky-rspec-1.1.99.7 features/support/env.rb
dchelimsky-rspec-1.1.99.8 features/support/env.rb
dchelimsky-rspec-1.1.99.9 features/support/env.rb
rspec-1.2.2 features/support/env.rb
rspec-1.2.1 features/support/env.rb
rspec-1.2.0 features/support/env.rb