Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author index page should have a link to delete an author #16

Open
swt2public opened this issue Nov 3, 2017 · 1 comment
Open

Author index page should have a link to delete an author #16

swt2public opened this issue Nov 3, 2017 · 1 comment

Comments

@swt2public
Copy link

Scenario

Given an author named 'Alan Turing'
When users visit the authors index page
Then it should have a destroy link with the text 'Destroy'

Error

Expected to find css "a" with text "destroy" but there were no matches. also found "add author", "show", "edit", which matched the selector but not all filters.

Estimated progress: 57% complete

ErikBrendel added a commit that referenced this issue Nov 3, 2017
ErikBrendel added a commit that referenced this issue Nov 3, 2017
@swt2public
Copy link
Author

Sorry, it's not working for me yet:

Scenario

Given an author named 'Alan Turing'
When users visit the authors index page
And click 'Destroy'
Then the author should be deleted

Error

Expected: nil
got: #<author id: 1, first_name: "alan", last_name: "turing", homepage: "http://wikipedia.de/alan_turing", created_at: "2017-11-03 18:02:22", updated_at: "2017-11-03 18:02:22">

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

ErikBrendel added a commit that referenced this issue Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant