Sha256: 1039bc0810500dc963a592c3d1cb1942db7425959096a5a32ec005dad1bbb485
Contents?: true
Size: 566 Bytes
Versions: 4
Compression:
Stored size: 566 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class FileNotFoundTest < Test::Unit::TestCase fixtures :pages test_helper :pages, :render def setup @page = pages(:file_not_found) end def test_url assert_renders 'http://testhost.tld/gallery/asdf?param=4', '<r:attempted_url />', '/gallery/asdf?param=4' end def test_virtual assert_equal true, @page.virtual? end def test_cache assert_equal false, @page.cache? end def test_headers assert_headers({'Status' => '404 Not Found'}, '/gallery/asdf') end end
Version data entries
4 entries across 4 versions & 1 rubygems