Sha256: efcaac3fac1001593e29765333a4e1a311a04831c3cd905abc004d378e415b5f

Contents?: true

Size: 591 Bytes

Versions: 8

Compression:

Stored size: 591 Bytes

Contents

require 'active_record'
require 'affairs_of_state'
require 'pry'

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
end


## Create an AR model to test with

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

8 entries across 8 versions & 1 rubygems

Version Path
affairs_of_state-0.1.2 spec/spec_helper.rb
affairs_of_state-0.1.1 spec/spec_helper.rb
affairs_of_state-0.1.0 spec/spec_helper.rb
affairs_of_state-0.0.6 spec/spec_helper.rb
affairs_of_state-0.0.5 spec/spec_helper.rb
affairs_of_state-0.0.4 spec/spec_helper.rb
affairs_of_state-0.0.3 spec/spec_helper.rb
affairs_of_state-0.0.1 spec/spec_helper.rb