summaryrefslogtreecommitdiff
path: root/spec/support/helpers/reload_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/reload_helpers.rb')
-rw-r--r--spec/support/helpers/reload_helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/helpers/reload_helpers.rb b/spec/support/helpers/reload_helpers.rb
index 368ebaaba8a..71becd535b0 100644
--- a/spec/support/helpers/reload_helpers.rb
+++ b/spec/support/helpers/reload_helpers.rb
@@ -5,8 +5,8 @@ module ReloadHelpers
models.compact.map(&:reload)
end
- def subject_and_reload(*models)
+ def subject_and_reload(...)
subject
- reload_models(*models)
+ reload_models(...)
end
end