Sha256: 6da435018bc1c786330f6c547d7b3835bc951540308d4c2bec7679eb3d9c4e97

Contents?: true

Size: 614 Bytes

Versions: 14

Compression:

Stored size: 614 Bytes

Contents

require 'rspec/core'
require 'rspec/expectations'
require 'rspec/autorun'

require 'rr'

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

RSpec.configure do |c|
  c.include ExampleMethods
  c.extend ExampleGroupMethods
  c.order = :random
end

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rr-3.1.1 spec/suites/rspec_2/helper.rb
rr-3.1.0 spec/suites/rspec_2/helper.rb
rr-3.0.9 spec/suites/rspec_2/helper.rb
rr-3.0.8 spec/suites/rspec_2/helper.rb
rr-3.0.7 spec/suites/rspec_2/helper.rb
rr-3.0.6 spec/suites/rspec_2/helper.rb
rr-3.0.5 spec/suites/rspec_2/helper.rb
rr-3.0.4 spec/suites/rspec_2/helper.rb
rr-3.0.3 spec/suites/rspec_2/helper.rb
rr-3.0.2 spec/suites/rspec_2/helper.rb
rr-3.0.1 spec/suites/rspec_2/helper.rb
rr-3.0.0 spec/suites/rspec_2/helper.rb
rr-1.2.1 spec/suites/rspec_2/helper.rb
rr-1.2.0 spec/suites/rspec_2/helper.rb