Skip to content

Commit

Permalink
Fixes #37928 - Support Rails 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ofedoren authored and chris1984 committed Oct 22, 2024
1 parent a6178f4 commit 4de1e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/config_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class ConfigTest < ActiveSupport::TestCase
test 'whitelisting mode requires blacklist to be set' do
config.listing_mode = ForemanVirtWhoConfigure::Config::WHITELIST
refute config.valid?
assert_includes config.errors.keys, :whitelist
assert_includes config.errors.attribute_names, :whitelist

config.whitelist = 'a.host'
assert config.valid?
Expand All @@ -72,7 +72,7 @@ class ConfigTest < ActiveSupport::TestCase
test 'blacklisting mode requires blacklist to be set' do
config.listing_mode = ForemanVirtWhoConfigure::Config::BLACKLIST
refute config.valid?
assert_includes config.errors.keys, :blacklist
assert_includes config.errors.attribute_names, :blacklist

config.blacklist = 'a.host'
assert config.valid?
Expand Down

0 comments on commit 4de1e56

Please sign in to comment.