Skip to content

Instantly share code, notes, and snippets.

View JacobKorn's full-sized avatar

Anthony Mace JacobKorn

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jacobkorn on github.
  • I am anthony_m (https://keybase.io/anthony_m) on keybase.
  • I have a public key ASA8-1s-N64sGn8t4GDdQNf1dIbIXPwaNLSRZN9JCjSTUwo

To claim this, I am signing this object:

require 'rails_helper'
RSpec.describe Car, :type => :model do
it { should belong_to :shape }
it { should belong_to :colour }
it { should belong_to :wheel_style }
it { should have_many :car_decals }
it { should have_many :decals }
end
@JacobKorn
JacobKorn / account_spec.rb
Last active August 29, 2015 14:10
Anthony's Gist
require 'spec_helper'
describe Account do
before do
Account.destroy_all
end
context "#associations" do
it { should have_many :bids }