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
define :candidate_user_status as an enum backed by a string with values ‹{pending: \"pending\", denied: \"denied\", agreed: \"agreed\"}›, prefix: :user
define :candidate_contact_status as an enum backed by a string with values ‹{pending: \"pending\", denied: \"denied\", agreed: \"agreed\"}›, prefix: :contact
define :candidate_contact_status as an enum backed by a string with values ‹{pending: \"pending\", denied: \"denied\", agreed: \"agreed\"}›, prefix: :user
572
+
MESSAGE
573
+
end
574
+
575
+
it'fails when there are different attributes with similar enum values with different prefixes'do
define :candidate_user_status as an enum backed by a string with values ‹{pending: \"pending\", denied: \"denied\", agreed: \"agreed\"}›, prefix: :user
define :candidate_contact_status as an enum backed by a string with values ‹{a_differente_value: \"testing\", pending: \"pending\", denied: \"denied\", agreed: \"agreed\"}›, prefix: :contact
define :candidate_contact_status as an enum backed by a string with values ‹{a_differente_value: \"testing\", pending: \"pending\", denied: \"denied\", agreed: \"agreed\"}›, prefix: :user
0 commit comments