3 ms·
The 2nd edition explicitly uses Capybara instead of Webrat. As long as people pay attention to their Gemfiles, they should be fine.
by mhartl 15y ago
The 2nd edition explicitly uses Capybara instead of Webrat. As long as people pay attention to their Gemfiles, they should be fine.
- prusswan 15y agoIt would be nice if you can discuss the differences, like how Capybara is meant for integration tests, and replacement for have_template etc. At some sections the tests are still referred to controller tests (Listing 10.46) although it looks like you intend to convert them all to integration tests.
- prusswan 15y agoAlso, 11.37 tests do not work with valid_sign_in (using session authentication), but works with the controller.sign_in method introduced in 1e.