Skip to content

Commit

Permalink
Rubcop and commit autogenerated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thesecretmaster committed Sep 9, 2021
1 parent 46a58bd commit 45d7cf4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/jobs/recheck_review_queue_job.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

class RecheckReviewQueueJob < ApplicationJob
queue_as :default

Expand Down
4 changes: 3 additions & 1 deletion app/jobs/revalidate_flag_conditions_job.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# frozen_string_literal: true

class RevalidateFlagConditionsJob < ApplicationJob
queue_as :default

def perform(*args)
def perform
FlagCondition.where(flags_enabled: true).find_each do |fc|
unless fc.validate
failures = fc.errors.full_messages
Expand Down
2 changes: 2 additions & 0 deletions app/jobs/validate_eligable_flaggers_job.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

class ValidateEligableFlaggersJob < ApplicationJob
queue_as :default

Expand Down

0 comments on commit 45d7cf4

Please sign in to comment.