antonmi / espec_phoenix

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

conn matchers #2

Closed antonmi closed 9 years ago

antonmi commented 9 years ago

expect(conn).to have_in_headers("content-type") expect(conn).to have_in_headers("content-type", "text/html; charset=utf-8")

expect(conn).to have_content_type("text/html")