Skip to content

Commit

Permalink
fix import spec with new error msgs
Browse files Browse the repository at this point in the history
  • Loading branch information
xihai01 committed Apr 15, 2022
1 parent 77b7030 commit d10a2a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/lib/importers/supervisor_importer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@

expect(alert[:type]).to eq(:error)
expect(alert[:message]).to eq("Not all rows were imported.")
expect(alert[:exported_rows]).to include("Phone number must be 12 digits including country code (+1)")
expect(alert[:exported_rows]).to include("Phone number must be 12 digits including country code (+1)")
end
end

Expand Down
2 changes: 1 addition & 1 deletion spec/lib/importers/volunteer_importer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

expect(alert[:type]).to eq(:error)
expect(alert[:message]).to eq("Not all rows were imported.")
expect(alert[:exported_rows]).to include("Phone number is not in correct format: 1XXXXXXXXXX")
expect(alert[:exported_rows]).to include("Phone number must be 12 digits including country code (+1)")
end
end
end

0 comments on commit d10a2a4

Please sign in to comment.