Sha256: fa53fc489a568a1cd2169d77ca0b3608715ef02508e59a918d188c208b480a86

Contents?: true

Size: 477 Bytes

Versions: 9

Compression:

Stored size: 477 Bytes

Contents

require 'rubygems'
require 'bundler/setup'

Bundler.require(:default)

require 'table-for'
require 'ostruct'
require 'xmlsimple'
require 'active_record'
require 'active_support/all'
require 'with_model'
require 'ruby-debug'

def print_hash(hash)
  hash.inject("") { |s, (k, v)| "#{s} #{k}: #{v}." }
end

RSpec.configure do |config|
  config.extend WithModel
  config.mock_with :mocha
  ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
table-for-3.3.0 spec/spec_helper.rb
table-for-3.2.0 spec/spec_helper.rb
table-for-3.1.5 spec/spec_helper.rb
table-for-3.1.4 spec/spec_helper.rb
table-for-3.1.3 spec/spec_helper.rb
table-for-3.1.2 spec/spec_helper.rb
table-for-3.1.1 spec/spec_helper.rb
table-for-3.1.0 spec/spec_helper.rb
table-for-3.0.0 spec/spec_helper.rb