Sha256: 9aa27f736daf8b2b0828376b7e4c0c4e51e3263b0f57e38d530d09edf787b206
Contents?: true
Size: 657 Bytes
Versions: 8
Compression:
Stored size: 657 Bytes
Contents
require File.dirname(__FILE__) + "/../helpers/acceptance" class NotFoundPageTest < Test::Unit::AcceptanceTestCase story <<-EOS As an visitor, I want to be shown a friendly four oh four So that I DON'T HAVE TO THINK. EOS scenario "chilling on some Integrity instance found via The Holy Hub" do project = Project.gen visit "/42" assert_equal 404, response_code click_link "list of projects" assert_contain(project.name) visit "/42" click_link "the projects list" assert_contain(project.name) visit "/42" click_link "back from whence you came" assert_contain("Add a new project") end end
Version data entries
8 entries across 8 versions & 4 rubygems