Sha256: 686b87f1aeae1958104a0bcd0328a8d5e0e86e92a88d0c1d3cde194a5c5828ca
Contents?: true
Size: 436 Bytes
Versions: 4
Compression:
Stored size: 436 Bytes
Contents
def test_<%= end_method.downcase %>_<%= end_resource.pluralize %> body = { <% end_query.each do |name, type| -%> <%= name %>: <%= sample_value(type) %>, <% end -%> } expected = { status: "TODO" } <%= end_method.downcase %> '<%= api_version %>/<%= end_resource.pluralize %>/<%= request_path_sample %>', body, { 'Content-Type' => 'application/json' } assert_equal expected.to_json, last_response.body end
Version data entries
4 entries across 4 versions & 1 rubygems