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

committed by
Loïc Guitaut

parent
02987e05d5
commit
3eaac56797
@ -3,7 +3,6 @@
|
||||
require 'imap/sync'
|
||||
|
||||
RSpec.describe Imap::Sync do
|
||||
|
||||
before do
|
||||
SiteSetting.tagging_enabled = true
|
||||
SiteSetting.pm_tags_allowed_for_groups = "1|2|3"
|
||||
@ -39,7 +38,7 @@ RSpec.describe Imap::Sync do
|
||||
)
|
||||
end
|
||||
|
||||
context 'no previous sync' do
|
||||
describe 'no previous sync' do
|
||||
let(:from) { 'john@free.fr' }
|
||||
let(:subject) { 'Testing email post' }
|
||||
let(:message_id) { "#{SecureRandom.hex}@example.com" }
|
||||
@ -169,7 +168,7 @@ RSpec.describe Imap::Sync do
|
||||
end
|
||||
end
|
||||
|
||||
context 'previous sync' do
|
||||
describe 'previous sync' do
|
||||
let(:subject) { 'Testing email post' }
|
||||
|
||||
let(:first_from) { 'john@free.fr' }
|
||||
@ -527,7 +526,7 @@ RSpec.describe Imap::Sync do
|
||||
|
||||
end
|
||||
|
||||
context 'invalidated previous sync' do
|
||||
describe 'invalidated previous sync' do
|
||||
let(:subject) { 'Testing email post' }
|
||||
|
||||
let(:first_from) { 'john@free.fr' }
|
||||
|
Reference in New Issue
Block a user