Replies: 1 comment
-
Please next time when opening an issue consider opening a discussion, because issue doesn't assume a question. This is a working one file example, that can be run as
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not a web developer so I never used Capybara integrated with the Ruby web app -- I always ran the tests as a separetly hosted application. However I'm currently making a Sinatra app and I suppose integrating it with the minitest would allow me to start and stop the app automatically that would be nice. But I can't figure out how to do that. I tried to follow https://sinatrarb.com/testing.html
but when the browser window opens the localhost is down, it does not look like Sinatra was started. What do I miss here?
UPD: moving the
require helper
after the.app =
is probably more correct but still no effect.Beta Was this translation helpful? Give feedback.
All reactions