Sha256: cdbfca52cd62c0d1299908138e4880fe1edb96f9f15a902c38af20cf2314d18e
Contents?: true
Size: 491 Bytes
Versions: 2
Compression:
Stored size: 491 Bytes
Contents
require "test_helper" module Cogy class ErrorTemplateTest < ActionDispatch::IntegrationTest include Engine.routes.url_helpers setup { @routes = Engine.routes } def test_error_tmpl_message get "/cogy/cmd/raiser/george" assert response.body.include?("boom") assert response.body.include?("@george") end def test_error_tmpl_contenttype get "/cogy/cmd/raiser/george" assert_equal "text/plain", response.content_type.to_s end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cogy-0.2.1 | test/integration/error_template_test.rb |
cogy-0.2.0 | test/integration/error_template_test.rb |