mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
DEV: add spec for removed group bio
This commit is contained in:
parent
19ca2d4772
commit
b4686934dd
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue