We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67853bb commit 447d80cCopy full SHA for 447d80c
spec/system/admin/enterprises_spec.rb
@@ -640,8 +640,10 @@
640
end
641
642
it "shows an error message if the email is invalid" do
643
+ expect_any_instance_of(ValidEmail2::Address).to receive(:valid_mx?).and_return(false)
644
+
645
within ".reveal-modal" do
- tomselect_fill_in "user_invitation[email]", with: "invalid_email"
646
+ tomselect_fill_in "user_invitation[email]", with: "newuser@example.invaliddomain"
647
648
expect do
649
click_button "Invite"
0 commit comments