From 62579d79d4927d61d6a28e9839e5306cf23027f6 Mon Sep 17 00:00:00 2001
From: Guo Xiang Tan <tgx_world@hotmail.com>
Date: Mon, 11 Mar 2019 11:12:11 +0800
Subject: [PATCH] DEV: Fix failing tests.

---
 spec/models/user_profile_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/models/user_profile_spec.rb b/spec/models/user_profile_spec.rb
index f4b64bc1d63..c52427b5136 100644
--- a/spec/models/user_profile_spec.rb
+++ b/spec/models/user_profile_spec.rb
@@ -38,7 +38,7 @@ describe UserProfile do
   end
 
   describe 'new' do
-    let(:user_profile) { Fabricate.build(:user_profile) }
+    let(:user_profile) { UserProfile.new(bio_raw: "test") }
 
     it 'is not valid without user' do
       expect(user_profile.valid?).to be false