Sha256: ec6e62e494d4a2a67abc1999598197e18ac23afb923f8749d172d8ba6a4469a9
Contents?: true
Size: 735 Bytes
Versions: 1
Compression:
Stored size: 735 Bytes
Contents
# encoding: utf-8 require 'rubygems' RAILS_VERSION = ENV['RAILS_VERSION'] || '2.3.3' gem 'activesupport', RAILS_VERSION require 'active_support' gem 'activerecord', RAILS_VERSION require 'active_record' # Configure ActiveRecord connection ActiveRecord::Base.establish_connection( :adapter => 'sqlite3', :database => ':memory:' ) # Load Remarkable core on place to avoid gem to be loaded dir = File.dirname(__FILE__) require File.join(dir, '..', '..', 'remarkable', 'lib', 'remarkable') # Load Remarkable ActiveRecord require File.join(dir, 'model_builder') require File.join(dir, '..', 'lib', 'remarkable_activerecord') # Include matchers Remarkable.include_matchers!(Remarkable::ActiveRecord, Spec::Example::ExampleGroup)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
remarkable_activerecord-3.1.9 | spec/spec_helper.rb |