Skip to content

Commit

Permalink
Maintenance: S/Mime Capybara tests performance improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
mantas authored and thorsteneckel committed Jul 14, 2020
1 parent b5c067b commit 829fc6e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/system/ticket/zoom_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -542,13 +542,15 @@ def authenticate
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(:smime_certificate, :with_private, fixture: system_email_address)
create(:smime_certificate, fixture: sender_email_address)

authenticate
end

it 'plain' do
Expand Down

0 comments on commit 829fc6e

Please sign in to comment.