From fa8865130d6aaac7a8b41e2dfaef5647b741b8c6 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 8 Feb 2010 19:26:52 -0300 Subject: [PATCH] Adding acceptance tests for online documentation --- features/online_documenation.feature | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/features/online_documenation.feature b/features/online_documenation.feature index bcc4e55..68adf71 100644 --- a/features/online_documenation.feature +++ b/features/online_documenation.feature @@ -9,6 +9,19 @@ Feature: online documentation Scenario: displaying index content When I go to /doc - Then I should see "Administration" - And I should see "User features" + Then I should see "User features" + And I should see "Content Management" + + Scenario: displaying section + When I go to /doc + And I follow "User features" + Then I should see "Accepting friends" + And I should see "Commenting" + + Scenario: displaying topic + When I go to /doc + And I follow "User features" + And I follow "Commenting" + Then I should see "How to access" + -- libgit2 0.21.2