-
Notifications
You must be signed in to change notification settings - Fork 652
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
Update WikiPageviews and spec for new API behavior #5508
Comments
I'm working on this |
These are the three failing tests:
You can make one of the requests for the failing tests using this link. As it's described on the issue, it looks like the pageviews API changed the behavior and started to response something like this when the article doesn't exist or the article doesn't have views in the given period:
I wasn't able to find any documentation about the specific I think a good approach to fix the tests could be to modify
|
Yes, that sounds like the right strategy @gabina. |
We have a handful of specs in
wiki_pageviews_spec.rb
that recently started failing. It looks like this is because the behavior of the API has changed when handling requests for which no data is available, so our code needs to be updated to handle the current behavior.The easiest way to gets started will be to run that spec, then figure out what changes need to be made to make the specs pass.
The text was updated successfully, but these errors were encountered: