Sha256: 37b700ad2bdf8bf8263570a645809db23e4bbdc17f272d2a8592b4c35ac63849

Contents?: true

Size: 382 Bytes

Versions: 23

Compression:

Stored size: 382 Bytes

Contents

require 'rubygems'
require "#{File.dirname(__FILE__)}/../lib/is_paranoid"
require 'activerecord'
require 'yaml'
require 'spec'

def connect(environment)
  conf = YAML::load(File.open(File.dirname(__FILE__) + '/database.yml'))
  ActiveRecord::Base.establish_connection(conf[environment])
end

# Open ActiveRecord connection
connect('test')
load(File.dirname(__FILE__) + "/schema.rb")

Version data entries

23 entries across 23 versions & 8 rubygems

Version Path
amiel-is_paranoid-0.9.2 spec/spec_helper.rb
jchupp-is_paranoid-0.0.1 spec/spec_helper.rb
jchupp-is_paranoid-0.0.2 spec/spec_helper.rb
jchupp-is_paranoid-0.3.0 spec/spec_helper.rb
jchupp-is_paranoid-0.4.0 spec/spec_helper.rb
jchupp-is_paranoid-0.5.0 spec/spec_helper.rb
jchupp-is_paranoid-0.6.0 spec/spec_helper.rb
jchupp-is_paranoid-0.7.0 spec/spec_helper.rb
jchupp-is_paranoid-0.7.1 spec/spec_helper.rb
jchupp-is_paranoid-0.8.0 spec/spec_helper.rb
jchupp-is_paranoid-0.8.1 spec/spec_helper.rb
jchupp-is_paranoid-0.8.2 spec/spec_helper.rb
semanticart-is_paranoid-0.9.0 spec/spec_helper.rb
semanticart-is_paranoid-0.9.3 spec/spec_helper.rb
semanticart-is_paranoid-0.9.4 spec/spec_helper.rb
semanticart-is_paranoid-0.9.5 spec/spec_helper.rb
semanticart-is_paranoid-0.9.6 spec/spec_helper.rb
woods-is_paranoid-0.0.2 spec/spec_helper.rb
woods-is_paranoid-0.0.3 spec/spec_helper.rb
jomz-is_paranoid-0.9.7 spec/spec_helper.rb