DEV: Fix failing tests.

This commit is contained in:
Guo Xiang Tan 2019-03-11 11:12:11 +08:00
parent 88355884c9
commit 62579d79d4
1 changed files with 1 additions and 1 deletions

View File

@ -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