test/unit/server_roles_tests.rb in cap-util-1.5.1 vs test/unit/server_roles_tests.rb in cap-util-1.5.2
- old
+ new
@@ -102,10 +102,10 @@
should "have no options by defoult" do
assert_empty subject.options
end
should "build its options with both string and symbol keys" do
- server = CapUtil::ServerRoles::ServerDef.new('opts1', 'primary')
+ server = CapUtil::ServerRoles::ServerDef.new('opts1', ['primary'])
assert_equal true, server.options[:primary]
assert_equal true, server.options['primary']
end