Drop support for ruby 3.0
Also add Ubuntu 24.04 and drop 20.04 as 24.04 is needed for ruby 3.1 without rvm so we should test it.
This commit is contained in:
parent
2fd2317bc6
commit
6789fc3081
15 changed files with 28 additions and 31 deletions
|
@ -38,7 +38,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
|
|||
click_on "Logout", :match => :first
|
||||
end
|
||||
|
||||
def within_sidebar(&block)
|
||||
within "#sidebar_content", &block
|
||||
def within_sidebar(&)
|
||||
within("#sidebar_content", &)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -340,10 +340,10 @@ module ActiveSupport
|
|||
Settings.merge!(saved_settings)
|
||||
end
|
||||
|
||||
def with_user_account_deletion_delay(value, &block)
|
||||
def with_user_account_deletion_delay(value, &)
|
||||
freeze_time
|
||||
|
||||
with_settings(:user_account_deletion_delay => value, &block)
|
||||
with_settings(:user_account_deletion_delay => value, &)
|
||||
ensure
|
||||
unfreeze_time
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue