Maintenance: S/Mime Capybara tests performance improvement

This commit is contained in:
Mantas 2020-07-13 21:22:58 +03:00 committed by Thorsten Eckel
parent b5c067b05a
commit 829fc6e5c5

View file

@ -542,13 +542,15 @@ RSpec.describe 'Ticket zoom', type: :system do
end end
end end
context 'replying' do context 'replying', authenticated_as: :setup_and_authenticate do
before do def setup_and_authenticate
create(:ticket_article, ticket: ticket, from: customer.email) create(:ticket_article, ticket: ticket, from: customer.email)
create(:smime_certificate, :with_private, fixture: system_email_address) create(:smime_certificate, :with_private, fixture: system_email_address)
create(:smime_certificate, fixture: sender_email_address) create(:smime_certificate, fixture: sender_email_address)
authenticate
end end
it 'plain' do it 'plain' do