cucumber test for rest api implemented in webmachine ruby