DEV: add spec for removed group bio

DEV: add spec for removed group bio

diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb
index aabb038..f48d6f9 100644
--- a/spec/models/group_spec.rb
+++ b/spec/models/group_spec.rb
@@ -622,6 +622,10 @@ describe Group do
     group.update!(bio_raw: 'This is a group for :unicorn: lovers')
 
     expect(group.bio_cooked).to include("unicorn.png")
+
+    group.update!(bio_raw: '')
+
+    expect(group.bio_cooked).to eq(nil)
   end
 
   describe ".visible_groups" do

GitHub sha: b4686934

1 Like