Improve clarity and intent

This commit is contained in:
David Heinemeier Hansson
2023-05-02 14:04:23 +02:00
parent f719540e0c
commit ae2effb80c
4 changed files with 22 additions and 22 deletions

View File

@@ -48,7 +48,7 @@ class ConfigurationTest < ActiveSupport::TestCase
end
test "role" do
assert_equal "web", @config.role(:web).name
assert @config.role(:web).name.web?
assert_equal "workers", @config_with_roles.role(:workers).name
assert_nil @config.role(:missing)
end