rb and I want to test it with RSpec but it doesnt seem to work for me. The feature I want to test is the search system of Amazon. Markup parameters allow you to change the underlying HTML markup Replacing RSpec controller tests, part 3: Removing business logic from controllers. The Java API will be more fully-featured than what's 11. Please post anything you discover that's not on this list and I'll add it. search(params) render "search" end Supposing someone later would add code to the end of this action that needed params or params, they would have to refactor your code. Well we know the solution, so lets move ahead. Query Parameters, Request Body and Headers. env = 'application/json' user = defined?(current_user) ? cu rspec_api_documentation lets you determine which examples get outputted into the final documentation.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |