Sha256: d56a4ca2da8a50feab4ff4fbd3151427b57bd0e78b4c93918713f1cb22d985b6

Contents?: true

Size: 508 Bytes

Versions: 4

Compression:

Stored size: 508 Bytes

Contents

require 'spec/autorun'

require File.expand_path('../../../global_helper', __FILE__)

module ExampleMethods
  def eigen(object)
    class << object; self; end
  end
end

module ExampleGroupMethods
  def macro(name, &implementation)
    (class << self; self; end).class_eval do
      define_method(name, &implementation)
    end
  end
end

Spec::Runner.configure do |c|
  c.include ExampleMethods
  c.extend ExampleGroupMethods
end

Dir[ File.expand_path('../shared/*.rb', __FILE__) ].each {|fn| require fn }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rr-1.1.0 spec/suites/rspec_1/spec_helper.rb
rr-1.1.0.rc3 spec/suites/rspec_1/spec_helper.rb
rr-1.1.0.rc2 spec/suites/rspec_1/spec_helper.rb
rr-1.1.0.rc1 spec/suites/rspec_1/spec_helper.rb