-
-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ruby 3.3.6 update #6098
base: main
Are you sure you want to change the base?
Ruby 3.3.6 update #6098
Conversation
ran rspec with --warnings flag and fixed most of them in our code
private_class_method | ||
|
||
def self.send_notification(followup, creator) | ||
private_class_method def self.send_notification(followup, creator) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this fixed a warning: private_class_method is ignored unless called with a symbol, like:
private_class_method :send_notification
or used this way.
@@ -54,7 +54,6 @@ | |||
</h3> | |||
<% min_date = CaseContact::MINIMUM_DATE %> | |||
<% current_date = Time.zone.today %> | |||
<% initial_value = @case_contact.occurred_at&.to_date %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused (warning)
@@ -6,7 +6,7 @@ | |||
casa_org = create(:casa_org, name: "Fake Name", display_name: "Fake Display Name") | |||
placement_type = create(:placement_type, casa_org: casa_org) | |||
creator = create(:user) | |||
placement = create(:placement, creator: creator, placement_type: placement_type) # rubocop:disable Lint/UselessAssignment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused var (warning)
end | ||
end | ||
end | ||
Capybara.save_path = Rails.root.join("tmp", "screenshots#{ENV["GROUPS_UNDERSCORE"]}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
method redefined (warning). I'm like 90% sure this is equivalent, but may want to check CI artifacts work.
What github issue is this PR for, if any?
No issue
What changed, and why?
Update ruby version
How is this tested? (please write tests!) 💖💪
Current specs only