Sha256: 938e9653b9fd25070a6deb31ca79213439343e07611e0227138ee89c50fd0541
Contents?: true
Size: 355 Bytes
Versions: 7
Compression:
Stored size: 355 Bytes
Contents
require 'rails_helper' module MnoEnterprise RSpec.describe EventLoggerJob, type: :job do it 'dispatch the notification to the event logger' do args = ['app_destroy', 1, 'App destroyed', 'Xero', build(:app_instance)] expect(EventLogger).to receive(:send_info).with(*args) EventLoggerJob.perform_now(:info, *args) end end end
Version data entries
7 entries across 7 versions & 1 rubygems