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

Add test for OPTIONS requests #17

Open
mattdowdell opened this issue Nov 8, 2016 · 1 comment
Open

Add test for OPTIONS requests #17

mattdowdell opened this issue Nov 8, 2016 · 1 comment

Comments

@mattdowdell
Copy link
Contributor

HTTP OPTIONS request support has been implemented to support behaviour exhibited by browsers (OPTIONS followed by the actual request), but no testing has yet been implemented. See app/controllers/v1/api_controller.rb#options for implementation.

@mattdowdell
Copy link
Contributor Author

Update: Test added in test/controllers/v1/tests_controller_test.rb#options, although test coverage analysis claims it does not work correctly. This should be investigated further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant