You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/requests/partners_requests_spec.rb
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -608,7 +608,8 @@
608
608
609
609
it"presents a flash error message"do
610
610
subject
611
-
expect(response).tohave_error"The following Partners did not import successfully:\nPartner 4: default_storage_location The default storage location is not a storage location for this partner's organization"
611
+
expect(flash[:alert]).tobe_present
612
+
expect(flash[:alert]).tomatch(/The following Partners imported with warnings/)
0 commit comments