Sha256: 5cd5fb596b2521d42cc1ce7576f8efb4a3f6b4438d26800cda9def5da97dd429

Contents?: true

Size: 557 Bytes

Versions: 9

Compression:

Stored size: 557 Bytes

Contents

ActiveRecord::Migration.verbose = false
ActiveRecord::Base.logger = Logger.new(nil)

ActiveRecord::Migrator.migrate(File.expand_path("../../../db/migrate/", __FILE__))
puts "Migrating #{File.expand_path("../../../db/migrate/", __FILE__)}"
ActiveRecord::Migrator.migrate(File.expand_path("../../rails_app/db/migrate/", __FILE__))
puts "Migrating #{File.expand_path("../../rails_app/db/migrate/", __FILE__)}"

RSpec.configure do |config|
  config.before(:suite) do
    DatabaseCleaner.strategy = :truncation
    DatabaseCleaner.orm = "active_record"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tekeya-0.0.10 spec/orm/active_record.rb
tekeya-0.0.9 spec/orm/active_record.rb
tekeya-0.0.7 spec/orm/active_record.rb
tekeya-0.0.6 spec/orm/active_record.rb
tekeya-0.0.5 spec/orm/active_record.rb
tekeya-0.0.4 spec/orm/active_record.rb
tekeya-0.0.3 spec/orm/active_record.rb
tekeya-0.0.2 spec/orm/active_record.rb
tekeya-0.0.1 spec/orm/active_record.rb