diff options
Diffstat (limited to 'spec/models/user_detail_spec.rb')
-rw-r--r-- | spec/models/user_detail_spec.rb | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/spec/models/user_detail_spec.rb b/spec/models/user_detail_spec.rb index 7d433896cf8..428fd5470c3 100644 --- a/spec/models/user_detail_spec.rb +++ b/spec/models/user_detail_spec.rb @@ -91,15 +91,17 @@ RSpec.describe UserDetail do describe '#save' do let(:user_detail) do - create(:user_detail, - bio: 'bio', - discord: '1234567890123456789', - linkedin: 'linkedin', - location: 'location', - organization: 'organization', - skype: 'skype', - twitter: 'twitter', - website_url: 'https://example.com') + create( + :user_detail, + bio: 'bio', + discord: '1234567890123456789', + linkedin: 'linkedin', + location: 'location', + organization: 'organization', + skype: 'skype', + twitter: 'twitter', + website_url: 'https://example.com' + ) end shared_examples 'prevents `nil` value' do |attr| |