Skip to content

Instantly share code, notes, and snippets.

@fabianoleittes
Created November 28, 2012 13:21
Show Gist options
  • Select an option

  • Save fabianoleittes/4161240 to your computer and use it in GitHub Desktop.

Select an option

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