Skip to content

Instantly share code, notes, and snippets.

@fabianoleittes
Created November 28, 2012 13:21
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 fabianoleittes/4161240 to your computer and use it in GitHub Desktop.
Save fabianoleittes/4161240 to your computer and use it in GitHub Desktop.
describe "#full_name" do
it "returns concatenated name" do
user = create(:user, first_name: "Fabiano", last_name: "Leite")
expect(user.full_name).to eq("Fabiano Leite")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment