Sha256: e2ceca4b4c8d31c1db01ac41753f7639a0e4a6eaf670af1eba54defd8b936a65
Contents?: true
Size: 380 Bytes
Versions: 1
Compression:
Stored size: 380 Bytes
Contents
# Create a dummy schema for testing class User < ActiveRecord::Base end RSpec.configure do |config| config.before(:suite) do m = ActiveRecord::Migration m.verbose = false m.drop_table :users if ActiveRecord::Base.connection.tables.include?("users") m.create_table :users do |t| t.string :email t.string :name t.timestamps end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prosperity-0.0.1 | spec/support/test_database.rb |