adopted-ember-addons / adopted-ember-addons/ember-data-factory-guy

`with` method on mock classes

Abierto
#160 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
JavaScript
Estrellas
298
Forks
136
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

as per https://github.com/danielspaniel/ember-data-factory-guy/issues/156#issuecomment-162867001,
add a `with` method that replaces withParams and allows to validate headers as well as params.

The methods accepts an object literal, the key `params` defines the params that must be matched and the `headers` key match the expected headers.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.