Last active
August 29, 2015 14:03
-
-
Save tdouce/ef1a5b1aa6fa3fa449ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# spec/models/user_spec.rb | |
it "should be able to create a user with factory_girl" do | |
user = FactoryGirl.create(:user, first_name: 'Sam') | |
expect(user.first_name).to eq('Sam') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment