---
 src/db/migrate/20090917192602_create_users.rb |    2 ++
 src/spec/factories/user.rb                    |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/db/migrate/20090917192602_create_users.rb 
b/src/db/migrate/20090917192602_create_users.rb
index 5b9f76e..67706fb 100644
--- a/src/db/migrate/20090917192602_create_users.rb
+++ b/src/db/migrate/20090917192602_create_users.rb
@@ -29,6 +29,8 @@ class CreateUsers < ActiveRecord::Migration
       t.string    :persistence_token,   :null => false
       t.string    :single_access_token, :null => false
       t.string    :perishable_token,    :null => false
+      t.string    :first_name
+      t.string    :last_name
       # Magic columns, just like ActiveRecord's created_at and updated_at.
       # These are automatically maintained by Authlogic if they are present.
       t.integer   :login_count,         :null => false, :default => 0
diff --git a/src/spec/factories/user.rb b/src/spec/factories/user.rb
index 1a82c72..077083b 100644
--- a/src/spec/factories/user.rb
+++ b/src/spec/factories/user.rb
@@ -3,8 +3,8 @@ Factory.define :user do |u|
   u.email '[email protected]'
   u.password 'secret'
   u.password_confirmation 'secret'
-  #u.first_name 'John'
-  #u.last_name 'Smith'
+  u.first_name 'John'
+  u.last_name 'Smith'
 end
 
 Factory.define :tuser, :parent => :user do |u|
-- 
1.6.6.1

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to