mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
Category Topics are no longer invisible, they are pinned.
This commit is contained in:
@ -99,8 +99,12 @@ describe Category do
|
||||
@topic.category.should == @category
|
||||
end
|
||||
|
||||
it 'is an invisible topic' do
|
||||
@topic.should_not be_visible
|
||||
it 'is a visible topic' do
|
||||
@topic.should be_visible
|
||||
end
|
||||
|
||||
it 'is pinned' do
|
||||
@topic.pinned_at.should be_present
|
||||
end
|
||||
|
||||
it 'is an undeletable topic' do
|
||||
|
Reference in New Issue
Block a user