Sha256: 288a29f2e5ceba8b6194562a3763a810b36b325d2b948c314c4508cfd8eb70b7
Contents?: true
Size: 790 Bytes
Versions: 2
Compression:
Stored size: 790 Bytes
Contents
# -*- coding: utf-8 -*- require 'rubygems' $LOAD_PATH.unshift(File.expand_path(File.join(*%w{.. .. lib}), __FILE__)) require 'coveralls' Coveralls.wear! begin require 'rails' rescue LoadError end require 'bundler/setup' Bundler.require %w{data_mapper mongoid active_record}.each do |orm| begin require orm break rescue LoadError end end if defined? Rails require 'rails_app/rails_app' require 'rspec/rails' else require 'rails_app/data_mapper/config' if defined?(DataMapper) require 'rails_app/mongoid/config' if defined?(Mongoid) require 'rails_app/active_record/config' if defined?(ActiveRecord) end Dir[File.dirname(__FILE__) + '/support/**/*.rb'].each { |file| require file } require File.expand_path('../../spec/non_rails_app/ruby_classes' , __FILE__)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
comma-3.2.4 | spec/spec_helper.rb |
comma-3.2.3 | spec/spec_helper.rb |