Ask A Question

Notifications

You’re not receiving notifications from this thread.

Rails 6 basics issue

JohnEMagee asked in Testing

I've been out of the rails game for a bit too long it seems. I tried to do a basic set up today to get pack into practice, using RSpec and Capybara, but just rails new -T and installing the gems created some sort of conflicts with Capybara. I've done way too much web searching to find a solution and haven't come up with one. the webpacker manifest is 'empty' on the testing but since I'm not much for JS I feel like there's just a whole lot of new learning i have to go through now? Any hints, suggestions, videos would be appreciated.

Reply

Rails comes with the webdrivers gem now and you should use that now. It makes things a lot easier. In fact, there's nothing you have to setup other than just installing the gem (unless you want to customize it).

https://github.com/titusfortner/webdrivers

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.