Skip to content

Commit

Permalink
drop feature_with_local_method, it's unused now
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 8, 2024
1 parent 4e672d0 commit b42a94f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/lib/utils/backup_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@ def assume_feature_absent(label)
ForemanMaintain.detector.stubs(:feature).with(label).returns(false)
end

def feature_with_local_method(label, return_value)
fake_feature = Minitest::Mock.new
ret_hash = { 'host' => 'abc.example.com' }
fake_feature.expect(:configuration, ret_hash)
fake_feature.expect(:local?, return_value)
ForemanMaintain.detector.stubs(:feature).with(label).returns(fake_feature)
end

it 'Validates katello standard backup' do
assume_feature_present(:pulpcore_database)
kat_stand_backup = subject.new(katello_standard)
Expand Down

0 comments on commit b42a94f

Please sign in to comment.