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

@ -32,7 +32,7 @@ RSpec.describe User do
end
describe 'welcome post' do
context 'disabled' do
context 'when disabled' do
before do
SiteSetting.disable_discourse_narrative_bot_welcome_post = true
end
@ -57,7 +57,7 @@ RSpec.describe User do
end
end
context 'enabled' do
context 'when enabled' do
before do
SiteSetting.disable_discourse_narrative_bot_welcome_post = false
end