Skip to content

Instantly share code, notes, and snippets.

@jordanmaguire
Created June 26, 2012 01:31
Show Gist options
  • Save jordanmaguire/2992566 to your computer and use it in GitHub Desktop.
Save jordanmaguire/2992566 to your computer and use it in GitHub Desktop.
The issue that caused me to devise my newer RSpec pattern
let(:vehicle) { FactoryGirl.create(:vehicle, :vehicle_model => vehicle_model, :type_of_sale => type_of_sale) }
let(:vehicle_model) { nil }
let(:type_of_sale) { "New" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment