I can see the content fine in my browser, but it doesn't appear in the the test. I checked the page with
save_and_open_page and the categories that I created isn't in the generated page. What am I missing here?
This is the error that I'm getting:
- Categories index page when the user is signed in should be able to see a list of categories Failure/Error: page.should have_content category1.name expected there to be content "category-1" in "Gastos\n\n\n\n\n\n\n\n\nGastos\n\n\nHome\n\n\nAbout\n\n\nContact\n\n\n\nLogged in as\firstname.lastname@example.org\n\nEdit profile\nSign Out\n\n\n\n\n\n\n\nBrowse Categories\nName\n\n\n\n"
./spec/requests/categories_spec.rb:19:in `block (4 levels) in <top (required)>'