swt2-intro-exercise / rails-exercise-20-mpass99

rails-exercise-20-mpass99 created by GitHub Classroom
MIT License
0 stars 0 forks source link

Author index page should render #5

Closed swt2public closed 3 years ago

swt2public commented 3 years ago

Scenario

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

Hints

Feature: an overview page of all saved authors (index action on AuthorsController), new view (app/views/authors/index.html.erb).

Create a separate file (ending in _spec.rb) for feature tests for this page. The overview page should have a (HTML) table with the headings "Name" and "Homepage" listing the full names as well as homepages of authors and should link to individual author's detail pages. The page should also 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

Here is the relevant section of the guide.

Error

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

8/44 exercise tests have passed

mpass99 commented 3 years ago

I have fulfilled the requirements and my tests are going through. @swt2public Could you tell me what else is expected from the exercise tests?

chrisma commented 3 years ago

Thanks for the info @mpass99! Unfortunately GitHub discontinued an API recently (yesterday), which breaks the exercise's automation. See also your last Travis log: https://travis-ci.com/github/swt2-intro-exercise/rails-exercise-20-mpass99/jobs/439374598#L363

We're working on fixing the issue. Please find further details in the Discord (channel #intro-exercise)