From 540b56805d3efe4bb5020c7ddeb14483a5b704d0 Mon Sep 17 00:00:00 2001
From: Raphael <raphael@joindiaspora.com>
Date: Tue, 22 Jun 2010 10:50:35 -0700
Subject: [PATCH] Fixed misc_spec.rb

---
 spec/misc_spec.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/spec/misc_spec.rb b/spec/misc_spec.rb
index 544778bfcf..773b8c6d9c 100644
--- a/spec/misc_spec.rb
+++ b/spec/misc_spec.rb
@@ -4,7 +4,7 @@ describe 'making sure the spec runner works' do
 
   it 'should not delete the database mid-spec' do
     User.count.should == 0
-    billy = User.create(:email => "billy@aol.com", :password => "foobar")
+    Factory.create(:user)
     User.count.should == 1
   end
   
@@ -14,7 +14,7 @@ describe 'making sure the spec runner works' do
   
   describe 'testing a before do block' do
     before do
-      @bill = User.create(:email => "billy@aol.com", :password => "foobar")
+      Factory.create(:user)
       
     end
     
@@ -23,4 +23,4 @@ describe 'making sure the spec runner works' do
     end
     
   end
-end
\ No newline at end of file
+end
-- 
GitLab