-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using visit with class name reports "Error: undefined constant User" #1137
Comments
Related: luckyframework/lucky_flow#65 |
Ah, I should have checked the lucky_flow repo. That workaround looks good for now. |
Glad you have a workaround. We'll definitely fix this though so won't be necessary in the future :D |
Does it make sense that since Authentic is built on top of lucky that it could also include some test helpers for LuckyFlow? That way the helper can take in an |
I haven't looked in to it much, but that sounds good. |
@matthewmcgarvey Oh I love that idea! I think we'll still want to extract the Does that make sense? |
My thoughts were that there would be an @paulcsmith Is that what you're getting at? |
Yes I think that or something similar would be awesome 👍 |
Finally getting around to fixing this 😂 |
OS: Ubuntu 20.04 LTS (Running in VMware Workstation), 2 processors, 4gb RAM
Setup:
lucky init
Created
spec/flows/visit_home_spec.cr
with following contents:Expected: Success
Result:
Replacing
visit Home::Index
withvisit "/"
results in the following successful result:The text was updated successfully, but these errors were encountered: