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

Changes in failure messages, maybe change order of test writing? #6

Open
fnibbit opened this issue Mar 2, 2020 · 0 comments
Open

Comments

@fnibbit
Copy link
Collaborator

fnibbit commented Mar 2, 2020

(wiki issue) https://github.com/RepoCamp/unc2020/wiki/Add-Metadata-to-Views,-Presenter,-and-Solr

Customize our image-specific presenter:
3. different error message
Failure/Error: expect(solr_document).to receive(:year) .......
does not implement: Year

  1. Not a different Failure! because the failure message in 3 was the
    one expected here.

Step 4 is necessary, though; skipping it until after adding the year to solr gets
this different Failure! 1) Hyrax::ImagePresenter delegates year to solr document
Failure/Error: presenter.year

 NoMethodError:
   undefined method `year'
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