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