swt2-intro-exercise / rails-exercise-18-Kenneth-Schroeder

rails-exercise-18-Kenneth-Schroeder created by GitHub Classroom
MIT License
1 stars 0 forks source link

Author index page should list first and last name in one table column #8

Open swt2public opened 5 years ago

swt2public commented 5 years ago

Scenario

When a user visits the authors index page Then it should have a column titled 'Name'

Hints

There should be an overview page (index action on AuthorsController) that lists all authors saved in the database. You should have a separate file for feature tests for the author index page. Again, remember to have the test file end in _spec.rb.

The overview page should have a table listing the full names as well as homepages of authors, should link to individual author's detail pages and should contain a link to add new authors. The have_link method might be helpful to test the existence of links: expect(page).to have_link 'New', href: new_author_path

More implementation help can found in the relevant section of the Ruby on Rails guide.

Error

Expected to find css "th" but there were no matches

Estimated progress: 29% complete