DEV: Use proper wording for contexts in specs

This commit is contained in:
Loïc Guitaut
2022-07-27 18:14:14 +02:00
committed by Loïc Guitaut
parent 02987e05d5
commit 3eaac56797
337 changed files with 2172 additions and 2723 deletions

View File

@ -1,7 +1,6 @@
# frozen_string_literal: true
RSpec.describe TopicTrackingState do
fab!(:user) { Fabricate(:user) }
fab!(:whisperers_group) { Fabricate(:group) }
@ -459,7 +458,7 @@ RSpec.describe TopicTrackingState do
expect(report.length).to eq(1)
end
context 'muted tags' do
describe 'muted tags' do
it "remove_muted_tags_from_latest is set to always" do
SiteSetting.remove_muted_tags_from_latest = 'always'
tag1 = Fabricate(:tag)
@ -580,7 +579,7 @@ RSpec.describe TopicTrackingState do
end
context "tag support" do
describe "tag support" do
before do
SiteSetting.tagging_enabled = true