mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Remove old test case.
This commit is contained in:
parent
08c36fa968
commit
76229535ac
1 changed files with 0 additions and 10 deletions
|
@ -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])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue