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".

2 thoughts on “railstutorial.org, having trouble getting rspec to return the same errors as those described in the tutorial”

  1. Howdy, I did the rails tutorial back in February so it’s been awhile. I remember a couple of times though running my tests and getting less or more than in the video. I later found out that this was due to editing.

    That being said, I remember this being in the later chapters. So another option is to check to make sure you’re running the entire test suite and not just the spec you’re on.

    Reply

Leave a Comment