Skip to content

Commit 5f028d4

Browse files
authored
Merge pull request #9507 from jrafanie/rails-7-2
Rails 7.2 - Fix breakage and deprecation
2 parents c9623dd + 2c1e556 commit 5f028d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/controllers/application_controller/ci_processing.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def syncvms
349349
# Refresh the power states for selected or single VMs
350350
def refreshvms(privilege = DEFAULT_PRIVILEGE)
351351
if privilege == DEFAULT_PRIVILEGE
352-
ActiveSupport::Deprecation.warn(<<-MSG.strip_heredoc)
352+
Vmdb::Deprecation.warn(<<-MSG.strip_heredoc, caller_locations[1..-1])
353353
Please pass the privilege you want to check for when refreshing
354354
MSG
355355
privilege = params[:pressed]

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
Dir[ManageIQ::UI::Classic::Engine.root.join('spec/shared/**/*.rb')].each { |f| require f }
3333

3434
RSpec.configure do |config|
35-
config.fixture_path = Rails.root.join("spec/fixtures")
35+
config.fixture_paths = [Rails.root.join("spec/fixtures")]
3636
config.use_transactional_fixtures = true
3737
config.use_instantiated_fixtures = false
3838

0 commit comments

Comments
 (0)