Sha256: 25bfc5a0acebfb1f5ded0ebeb303a2f1895675a75af58f57484acf6b7f5b68ea
Contents?: true
Size: 965 Bytes
Versions: 29
Compression:
Stored size: 965 Bytes
Contents
--- - name: "Rateables requested for a non existant user should result in a 404" request: headers: Content-Type: 'application/json' path: '/users/daisyduck/rateables' method: 'GET' response_expectation: status_code: 404 body: - name: "Without per_page there should come out 1 rateable movie" request: path: '/users/duffyduck/rateables' method: 'GET' headers: Content-Type: 'application/json' 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' parameters: per_page: 10 method: 'GET' headers: Content-Type: 'application/json' response_expectation: status_code: 200 headers: Last-Modified: /.*/ body: /^\[("m\d+",?){10}\]$/
Version data entries
29 entries across 29 versions & 1 rubygems