Sha256: 586831b16500b3fe1d6b7c03f1195eee4842e3ef9e4f66c0120fcfd808b1442c
Contents?: true
Size: 762 Bytes
Versions: 4
Compression:
Stored size: 762 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
4 entries across 4 versions & 1 rubygems