mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
parent
bb108efedd
commit
fa52001be6
141 changed files with 1388 additions and 1664 deletions
|
@ -28,7 +28,7 @@ class ContactDisclosableTest < ActiveSupport::TestCase
|
|||
@contact.disclosed_attributes = %w[some undisclosable]
|
||||
|
||||
assert @contact.invalid?
|
||||
assert_includes @contact.errors.get(:disclosed_attributes), 'contain unsupported attribute(s)'
|
||||
assert_includes @contact.errors[:disclosed_attributes], 'contain unsupported attribute(s)'
|
||||
end
|
||||
|
||||
def test_valid_when_attribute_is_disclosable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue