FactoryGirl.define do 
    factory :user do
      sequence(:name) { |n| "test#{n}" }
      sequence(:email) { |n| "test#{n}@test.com" }
      password '123456'
      password_confirmation '123456'
    end
  end