i can't run my Rspec user_spec.rb test due to a syntax error. i already try to add and deletes some "end" but it seem the problem still not resolve.
this is my static_pages_spec.rb
this is my first question so maybe it a little weird.
i can't run my Rspec user_spec.rb test due to a syntax error. i already try to add and deletes some "end" but it seem the problem still not resolve.
this is my static_pages_spec.rb
this is my first question so maybe it a little weird.
Your do/ends appear to match to me. Does the syntax error specify a line number? I noticed two potential issues on line 25 and 48 from your pastebin link.
expect(page) .to have_content( 'Help' )
should be
expect(page).to have_content( 'Help' )
Also
expect(page) .to have_content( 'About Us' )
should be
expect(page).to have_content( 'About Us' )