Closed edalzell closed 3 years ago
Thanks @edalzell!
@edalzell Sorry, but either something has changed or I didn't understand this when I was merging. The test you added is failing, as you mentioned, but... I guess what I assumed you meant was "I added a test that failed but now succeeds."
But.. you definitely left a test that just fails. What was your intention with that?
@edalzell Sorry, but either something has changed or I didn't understand this when I was merging. The test you added is failing, as you mentioned, but... I guess what I assumed you meant was "I added a test that failed but now succeeds."
But.. you definitely left a test that just fails. What was your intention with that?
Ya that's what I meant, it passed after my update. It breaks now? I can take a look.
Ya if you look at my test and it_lists_10_newest_available_tags_for_service
they are practically the same. The first one (mysql) passes and mine, postgres
fails.
Perhaps the postgres stuff changed?
Ok I have a fix @mattstauffer, let's discuss?
The issue is that the latest
is not in the first 10. It turns out you can set ?page_size=20
and get more results (from here).
Once you do that, the tags come back sorted properly again, and the tests pass (once you change the 10
test to 20
, of course).
Sound good?
Once you do that, the tags come back sorted properly again, and the tests pass (once you change the
10
test to20
, of course).
Note that ALL tests continue to pass after getting 20 tags back, instead of ten.
Closes #207 Closes #213
Added a failing test as well.