Sha256: f48dcde7fb23eabe9997003c6d2a45fdecec48baec98069d37b0962a1ecb3b0d

Contents?: true

Size: 735 Bytes

Versions: 2

Compression:

Stored size: 735 Bytes

Contents

---
- name: "Without per_page there should come out 1 rateable movie"
  request:
    path:           '/users/duffyduck/rateables'
    method:         'GET'
    headers:
      Content-Type: 'application/json'
    body: {}
  response_expectation:
    status_code: 200
    headers:
      Last-Modified: /.*/
    body:            /^\["m\d+"\]$/
- name: "With per_page 10 there should come out 10 rateable movies"
  request:
    path:           '/users/duffyduck/rateables?per_page=10'
    parameters:
      per_page: 10
    method:         'GET'
    headers:
      Content-Type: 'application/json'
    body: {}
  response_expectation:
    status_code: 200
    headers:
      Last-Modified: /.*/
    body:            /^\[("m\d+",?){10}\]$/

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
apirunner-0.2.2 examples/test/api_runner/003_update_ratings.yml
apirunner-0.2.1 examples/test/api_runner/003_update_ratings.yml