Skip to content

Instantly share code, notes, and snippets.

@SunDi3yansyah
Created March 17, 2020 06:16
Show Gist options
  • Save SunDi3yansyah/7866b2da03365d7ae7046765f375dda0 to your computer and use it in GitHub Desktop.
Save SunDi3yansyah/7866b2da03365d7ae7046765f375dda0 to your computer and use it in GitHub Desktop.
RSpec List Expectations

RSpec List Expectations:

  • Ekspektasi http status code
  • Ekspektasi di header
  • Ekspektasi key dan value di response body
  • Ekspektasi jenis klass object / array / integer / float, dll
  • Ekspektasi jumlah object / array
  • Ekspektasi exception / error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment