Wasasando

railstutorial.org, having trouble getting rspec to return the same errors as those described in the tutorial

I'm in chapter three of the Hartl tutorial series. Attempting to add the About Us page using TDD. As I run rspec at each stage of the tutorial, the only failure rpsec ever returns is this:

1) Static pages About page should have the content 'About Us'
Failure/Error: expect(page).to have_content('About Us')
expected #has_content?("About Us") to return true, got false
# ./spec/requests/static_pages_spec.rb:37:in `block (3 levels) in '

I'm not getting any of the other errors shown in Hartl's tutorial. No error asking for missing [GET] routes, no error asking for missing controllers, etc.

I have *not* performed the Advanced Setup because it still seems a little beyond my understanding. Perhaps this is why my install of rspec isn't returning the additional more informative errors?

Thanks to any and all who care to offer some advice on why my rspec isn't behaving "correctly".

Exit mobile version