• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fast-programmer / outboxer / 14571123183

21 Apr 2025 09:30AM UTC coverage: 98.335% (+0.07%) from 98.261%
14571123183

Pull #272

github

web-flow
Merge ba354684e into d8ccd6fd4
Pull Request #272: Optimise EventCreatedJob.perform_async

69 of 69 new or added lines in 2 files covered. (100.0%)

1595 of 1622 relevant lines covered (98.34%)

6.54 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/app/models/event.rb
1
class Event < ApplicationRecord
1✔
2
  self.table_name = "events"
1✔
3

4
  default_scope { order(:created_at) }
79✔
5

6
  # validations
7

8
  validates :type, presence: true, length: { maximum: 255 }
1✔
9

10
  # callbacks
11

12
  after_create do |event|
1✔
13
    Outboxer::Message.queue(messageable: event)
72✔
14
  end
15
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc