Sha256: f8ba76e0f80cc58b7e8ea7d3c49d4d96860fbe348af186ed310ef67b225ce745
Contents?: true
Size: 753 Bytes
Versions: 2
Compression:
Stored size: 753 Bytes
Contents
# -*- coding: utf-8 -*- require 'rubygems' $LOAD_PATH.unshift(File.expand_path(File.join(*%w{.. .. lib}), __FILE__)) require 'bundler/setup' Bundler.require begin require 'rails' rescue LoadError end %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.2 | spec/spec_helper.rb |
comma-3.2.1 | spec/spec_helper.rb |