Sha256: b4c2f55a6e209fe4c8ebf18dc92ab375acacf3d41751e6c6df09e0a5bbbb90a0
Contents?: true
Size: 566 Bytes
Versions: 2
Compression:
Stored size: 566 Bytes
Contents
require 'active_record' require 'affairs_of_state' require 'pry' RSpec.configure do |config| config.run_all_when_everything_filtered = true end ## Create an AR model to test with I18n.enforce_available_locales = false ActiveRecord::Base.establish_connection( :adapter => "sqlite3", :database => "#{File.expand_path(File.join(File.dirname(__FILE__), '..'))}/spec/db/test.sqlite3" ) ActiveRecord::Base.connection.execute("DROP TABLE IF EXISTS 'pies'") ActiveRecord::Base.connection.create_table(:pies) do |t| t.string :status t.string :super_status end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
affairs_of_state-0.1.4 | spec/spec_helper.rb |
affairs_of_state-0.1.3 | spec/spec_helper.rb |