Sha256: c07567d2d3d3b0cf2b3f2d097c908d98b644d6019a5fa207982ed0d12ec63996
Contents?: true
Size: 433 Bytes
Versions: 6
Compression:
Stored size: 433 Bytes
Contents
if defined?(RSpec) require 'mongoid-rspec' require 'fabrication' root = Pathname.new(__FILE__).parent.parent.parent Dir[root.join('spec', 'support', '**', '*.rb').to_s].each { |f| require f } Dir[root.join('spec', 'fabricators', '**', '*.rb').to_s].each { |f| require f } RSpec.configure do |config| config.include Mongoid::Matchers end else puts 'Cannot add levtera shared examples, RSpec not defined!' end
Version data entries
6 entries across 6 versions & 1 rubygems