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

fix order-dependent spec #45

Open
MothOnMars opened this issue Aug 9, 2018 · 0 comments
Open

fix order-dependent spec #45

MothOnMars opened this issue Aug 9, 2018 · 0 comments
Assignees
Labels
good first issue Good for newcomers tests

Comments

@MothOnMars
Copy link
Contributor

Steps:
Run the spec suite with the 35490 seed:
rspec spec/ --seed 35490

Expected Results:

  • all specs pass

Actual Results:

  • One spec fails:
Failures:

  1) API::V1::Documents POST /api/v1/documents success case stores the appropriate fields in the Elasticsearch document
     Failure/Error: expect(document.path).to eq("http://www.gov.gov/goo.html")

       expected: "http://www.gov.gov/goo.html"
            got: "http://www.gov.gov/url4.html"

       (compared using ==)
     # ./spec/requests/api/v1/documents_spec.rb:62:in `block (4 levels) in <top (required)>'
@MothOnMars MothOnMars added good first issue Good for newcomers tests labels Aug 9, 2018
@MothOnMars MothOnMars self-assigned this Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers tests
Projects
None yet
Development

No branches or pull requests

1 participant