mocktools/ruby-smtp-mock

View on GitHub
lib/smtp_mock/test_framework/rspec/helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

require_relative 'interface'

module SmtpMock
  module TestFramework
    module RSpec
      module Helper
        def smtp_mock_server(**options)
          SmtpMock::TestFramework::RSpec::Interface.start_server(**options)
        end
      end
    end
  end
end