Skip to content

Commit

Permalink
Make foreman_host call optional (#805)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShimShtein authored Mar 12, 2023
1 parent 2c314e4 commit 2754981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_plugin_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ module MockForemanHostname
included do
setup do
@foreman_host = FactoryBot.create(:host, :managed)
ForemanRhCloud.expects(:foreman_host_name).returns(@foreman_host.name)
ForemanRhCloud.stubs(:foreman_host_name).returns(@foreman_host.name)
end
end
end

0 comments on commit 2754981

Please sign in to comment.