Sha256: b62ef1d83ee751002f00d026227b5348b184a567436e1149c279f871f66b67a6
Contents?: true
Size: 403 Bytes
Versions: 10
Compression:
Stored size: 403 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.integer :value t.timestamps end end end
Version data entries
10 entries across 10 versions & 1 rubygems