Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix failing tests.

Guo Xiang Tan62579d79d492
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