Sha256: d50e95f56bc2a1cfef18f208630bd3b503530fd9d1cd23eb8b1b2fce52dec2ce
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
require 'active_record' ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:" load "spec/db/schema.rb" FactoryGirl.find_definitions class User < ActiveRecord::Base end FactoryGirl.create(:user) FactoryGirl.create(:user, { name: 'Billy Bob', age: 18, is_young_at_heart: true }) FactoryGirl.create(:user, { name: 'Joe Stuffypants', age: 27, is_young_at_heart: false })
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
filterism-2.0.1 | spec/support/active_record.rb |
filterism-2.0.0 | spec/support/active_record.rb |