antonmi / espec_phoenix

ESpec for Phoenix web framework.
MIT License
138 stars 33 forks source link

Add support for status code mnemonics #6

Closed lee-dohm closed 9 years ago

lee-dohm commented 9 years ago

This allows for writing:

expect(conn).to have_http_status(:not_found)

or:

it do: should have_http_status(:no_content)
antonmi commented 9 years ago

Thanks a lot!