test/acceptance/browse_project_test.rb in integrity-0.1.9.2 vs test/acceptance/browse_project_test.rb in integrity-0.1.9.3
- old
+ new
@@ -46,9 +46,13 @@
visit "/"
click_link "My Test Project"
assert_have_tag("h1", :content => "My Test Project")
+
+ # He can then go back to the project listing
+ click_link "projects"
+ assert_have_tag("a", :content => "My Test Project")
end
scenario "a user gets a 404 when browsing to an unexisting project" do
visit "/who-are-you"