Skip to content

Commit

Permalink
Rename RematchingAttempt#auto_finish_empty_task_list
Browse files Browse the repository at this point in the history
  • Loading branch information
ans82 committed Sep 3, 2024
1 parent 37b7672 commit 3558e8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ioki/model/operator/rematching_attempt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class RematchingAttempt < Base
on: :read,
type: :date_time

attribute :auto_cancel_empty_task_list,
attribute :auto_finish_empty_task_list,
on: [:create, :read],
omit_if_nil_on: [:create],
type: :boolean
Expand Down
2 changes: 1 addition & 1 deletion spec/ioki/model/operator/rematching_attempt_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
it { is_expected.to define_attribute(:type).as(:string) }
it { is_expected.to define_attribute(:created_at).as(:date_time) }
it { is_expected.to define_attribute(:updated_at).as(:date_time) }
it { is_expected.to define_attribute(:auto_cancel_empty_task_list).as(:boolean) }
it { is_expected.to define_attribute(:auto_finish_empty_task_list).as(:boolean) }
it { is_expected.to define_attribute(:auto_cancel_failed_rematchings).as(:boolean) }
it { is_expected.to define_attribute(:finished_at).as(:date_time) }
it { is_expected.to define_attribute(:preserve_negotiated_times).as(:boolean) }
Expand Down

0 comments on commit 3558e8e

Please sign in to comment.