syntax error unexpected tidentifier expecting kend
===

this is my code


test:
Require 'test_helper'

class UserTest < ActiveSupport::TestCase
	def test_user_credentials
	person = User.new(:name => "Alberto", :email => "alberto@hot.com") assert_equal "Alberto alberto@hot.com", user.user_credentials
	end
end

the class

class User < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :token_authenticatable, :encryptable, :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable

  # Setup accessible (or protected) attributes for your model
  attr_accessible :email, :password, :password_confirmation, :remember_me
  has_many :cars
  validates_presence_of :email
	def user_credentials
	name + " " + email
	end
end



when i type this $ ruby test/unit/user_test.rb
i get this message error
test/unit/user_test.rb:5: syntax error, unexpected tIDENTIFIER, expecting kEND
...alberto@hot.com") assert_equal "Alberto alberto@hot.com", us...
i don't know what to do  
please help me, THANKS