Sha256: aa56255ec9a705bf8c133d1997697cdcf5ecdd11bf484605a4e32df08d2bc2a9
Contents?: true
Size: 1.04 KB
Versions: 6
Compression:
Stored size: 1.04 KB
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'rubygems' require 'active_record' require 'action_view' require 'action_controller' require 'rspec/rails' require 'classy_enum' ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:") RSpec.configure do |config| config.color_enabled = true end ActiveRecord::Schema.define(:version => 1) do create_table :dogs, :force => true do |t| t.string :breed end create_table :other_dogs, :force => true do |t| t.string :other_breed end create_table :allow_blank_breed_dogs, :force => true do |t| t.string :breed end create_table :allow_nil_breed_dogs, :force => true do |t| t.string :breed end create_table :active_dogs, :force => true do |t| t.string :breed t.string :color t.string :name t.integer :age end create_table :cats, :force => true do |t| t.string :breed end create_table :other_cats, :force => true do |t| t.string :breed end end
Version data entries
6 entries across 6 versions & 1 rubygems