mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:20:45 +08:00
Remove old test case.
This commit is contained in:
@ -46,16 +46,6 @@ describe TopicList do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context "DiscourseTagging enabled" do
|
|
||||||
before do
|
|
||||||
SiteSetting.tagging_enabled = true
|
|
||||||
end
|
|
||||||
|
|
||||||
it "should add tags to preloaded custom fields" do
|
|
||||||
expect(topic_list.preloaded_custom_fields).to include(DiscourseTagging::TAGS_FIELD_NAME)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
describe '#tags' do
|
describe '#tags' do
|
||||||
it 'should return the right tags' do
|
it 'should return the right tags' do
|
||||||
tag = Fabricate(:tag, topics: [topic])
|
tag = Fabricate(:tag, topics: [topic])
|
||||||
|
Reference in New Issue
Block a user