Sha256: 2981b1257c73477fcaf9dc76028e6c92b7842dce2986a7284b2e9bb580290963
Contents?: true
Size: 524 Bytes
Versions: 1
Compression:
Stored size: 524 Bytes
Contents
require 'rubygems' require File.expand_path('../../lib/acts_as_revisionable', __FILE__) require 'sqlite3' module ActsAsRevisionable module Test def self.create_database ActiveRecord::Base.establish_connection("adapter" => "sqlite3", "database" => ":memory:") ActsAsRevisionable::RevisionRecord.create_table end def self.delete_database ActiveRecord::Base.connection.drop_table(ActsAsRevisionable::RevisionRecord.table_name) ActiveRecord::Base.connection.disconnect! end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
acts_as_revisionable-1.0.4 | spec/spec_helper.rb |