Skip to content

Instantly share code, notes, and snippets.

@bill-transue
Created May 31, 2013 20:00
Show Gist options
  • Save bill-transue/5687587 to your computer and use it in GitHub Desktop.
Save bill-transue/5687587 to your computer and use it in GitHub Desktop.
LeadGeneration::Lead.stub(:scrape_contact_from) do |email, attributes={}|
FactoryGirl.build :contact, attributes
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment