mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 01:14:12 +08:00
DEV: Use proper wording for contexts in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
02987e05d5
commit
3eaac56797
@ -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
|
||||
|
Reference in New Issue
Block a user