Sha256: 218ec2d7643b1ff76e6095fa2ff85ea7a0e8f0c47dae07649101a2b166f8d1eb
Contents?: true
Size: 737 Bytes
Versions: 2
Compression:
Stored size: 737 Bytes
Contents
require 'rubygems' require 'ruby-debug' RAILS_VERSION = ENV['RAILS_VERSION'] || '=2.2.2' gem 'activesupport', RAILS_VERSION require 'active_support' gem 'activerecord', RAILS_VERSION require 'active_record' # Configure ActiveRecord connection ActiveRecord::Base.establish_connection( :adapter => 'sqlite3', :dbfile => '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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
remarkable_activerecord-3.0.0 | spec/spec_helper.rb |
remarkable_activerecord-3.0.1 | spec/spec_helper.rb |