swt2-intro-exercise / rails-exercise-18-lassesteffen

rails-exercise-18-lassesteffen created by GitHub Classroom
MIT License
0 stars 0 forks source link

Author index page should render #6

Closed swt2public closed 5 years ago

swt2public commented 5 years ago

Scenario

When a user visits the authors index page Then the page should render

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

Got AbstractController::ActionNotFound: The action 'index' could not be found for AuthorsController

Estimated progress: 23% complete

swt2public commented 5 years ago

Sorry, it's not working for me yet:

Scenario

When a user visits the authors index page Then the page should render

Error

Got AbstractController::ActionNotFound: The action 'index' could not be found for AuthorsController

If you have problems solving this task, please don't hesitate to contact the teaching team!

swt2public commented 5 years ago

Sorry, it's not working for me yet:

Scenario

When a user visits the authors index page Then the page should render

Error

Got AbstractController::ActionNotFound: The action 'index' could not be found for AuthorsController

If you have problems solving this task, please don't hesitate to contact the teaching team!

swt2public commented 5 years ago

Sorry, it's not working for me yet:

Scenario

When a user visits the authors index page Then the page should render

Error

Got AbstractController::ActionNotFound: The action 'index' could not be found for AuthorsController

If you have problems solving this task, please don't hesitate to contact the teaching team!