Sha256: b07f8159cdf48fb35f336756e1ca9ae60e20206dc5def4578826a26043d1c8c8
Contents?: true
Size: 668 Bytes
Versions: 2
Compression:
Stored size: 668 Bytes
Contents
require 'bundler' Bundler.require(:default) require 'active_record' require 'stately_scopes' require 'pp' require 'minitest/autorun' require 'minitest/spec' require 'minitest/mock' require 'minitest/pride' module MiniTest class Spec class << self alias_method :context, :describe end end end #ActiveRecord::Base.logger = Logger.new(STDERR) ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:" ActiveRecord::Schema.define do create_table :widgets do |table| table.column :fake, :boolean end end def reload_widget Object.send(:remove_const, :Widget) load 'support/widget.rb' end load 'support/widget.rb'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stately_scopes-0.0.2 | spec/spec_helper.rb |
stately_scopes-0.0.1 | spec/spec_helper.rb |