Sha256: d4cac8902bb872553abf84d4e1b56f0eb0fd7d0797aa75f074dd0aa8a621d6bd
Contents?: true
Size: 632 Bytes
Versions: 4
Compression:
Stored size: 632 Bytes
Contents
require 'rspec/core' require 'rspec/expectations' require 'rspec/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 RSpec.configure do |c| c.include ExampleMethods c.extend ExampleGroupMethods end Dir[ File.expand_path('../shared/*.rb', __FILE__) ].each {|fn| require fn } Dir[ File.expand_path('../support/**/*.rb', __FILE__) ].each {|fn| require fn }
Version data entries
4 entries across 4 versions & 1 rubygems