Skip to content

Instantly share code, notes, and snippets.

@joelongstreet
Created January 7, 2014 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joelongstreet/8307539 to your computer and use it in GitHub Desktop.
Save joelongstreet/8307539 to your computer and use it in GitHub Desktop.
require 'spec_helper'
describe User do
it 'should reach out to passport via oauth and populate user attributes' do
user = FactoryGirl.create(
:user,
:passport_id => 2322
)
user.email.should eq 'jlongstreet@vml.com'
user.location.should eq 'KC-Airport'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment