DEV: add spec for removed group bio

This commit is contained in:
Maja Komel 2019-06-12 17:37:44 +02:00
parent 19ca2d4772
commit b4686934dd
1 changed files with 4 additions and 0 deletions

View File

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