Skip to content

Commit 10fb1a9

Browse files
Fix Twilio phone number form validation test (#6863)
1 parent 0a154b5 commit 10fb1a9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

spec/system/casa_org/edit_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
fill_in "Twilio Phone Number", with: ""
7171
click_on "Submit"
7272

73-
message = find("#casa_org_twilio_phone_number").native.attribute("validationMessage")
74-
expect(message).to eq "Please fill out this field."
73+
expect(page).to have_css("#casa_org_twilio_phone_number:invalid")
7574
end
7675
end

0 commit comments

Comments
 (0)