Skip to content

Commit

Permalink
Comma delimited emails are still considered valid. We should investig…
Browse files Browse the repository at this point in the history
…ate this
  • Loading branch information
GeorgeCodes19 committed Sep 25, 2024
1 parent 3951b04 commit 3aab0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/spec/models/cbv_flow_invitation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
context "for all invitations" do
context "validates email addresses" do
context "when email address is valid" do
valid_email_addresses = %w[[email protected] [email protected]]
valid_email_addresses = %w[[email protected] [email protected] [email protected],[email protected]]
valid_email_addresses.each do |email|
it "#{email} is valid" do
invitation = CbvFlowInvitation.new(valid_attributes.merge(email_address: email))
Expand Down

0 comments on commit 3aab0d5

Please sign in to comment.