diff options
author | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2010-08-03 15:04:09 +0200 |
---|---|---|
committer | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2010-08-05 18:18:53 +0200 |
commit | e36fe5097c19690f2d0147445248f7d529dd17a2 (patch) | |
tree | 7b09dbb2c60f3f46509968a5ce999199e873558c | |
parent | Only owner can edit feedback of answer (diff) | |
download | recruiting-webapp-e36fe5097c19690f2d0147445248f7d529dd17a2.tar.gz recruiting-webapp-e36fe5097c19690f2d0147445248f7d529dd17a2.tar.bz2 recruiting-webapp-e36fe5097c19690f2d0147445248f7d529dd17a2.zip |
Change navigation tab Suggestion Questions to Suggest Questions
-rw-r--r-- | app/views/taglibs/nav.dryml | 2 | ||||
-rw-r--r-- | features/clean_ui.feature | 2 | ||||
-rw-r--r-- | features/suggest_questions.feature | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/taglibs/nav.dryml b/app/views/taglibs/nav.dryml index 038947d..6dad653 100644 --- a/app/views/taglibs/nav.dryml +++ b/app/views/taglibs/nav.dryml @@ -3,7 +3,7 @@ <nav-item href="#{base_url}/">Home</nav-item> <nav-item with="&QuestionCategory"><ht key="question_categories.nav_item">Question Categories</ht></nav-item> <nav-item with="&QuestionGroup" action="category"><ht key="question_groups.nav_item">Question Groups</ht></nav-item> - <nav-item href="&suggest_questions_questions_path" unless="¤t_user.administrator?"><ht key="questions.nav_item">Suggestion Questions</ht></nav-item> + <nav-item href="&suggest_questions_questions_path" unless="¤t_user.administrator?"><ht key="questions.nav_item">Suggest Questions</ht></nav-item> <nav-item href="&approve_questions_questions_path" if="¤t_user.questions_to_approve.count > 0"><ht key="questions.nav_item">Approve Questions</ht></nav-item> </navigation> </def> diff --git a/features/clean_ui.feature b/features/clean_ui.feature index 4fb1aa8..237136e 100644 --- a/features/clean_ui.feature +++ b/features/clean_ui.feature @@ -40,7 +40,7 @@ Feature: Clean UI Scenario: Administrator creating new question Given I am logged in as administrator - Then I should not see "Suggestion Questions" + Then I should not see "Suggest Questions" When I follow "New Question" Then I should not see "Approved" within ".section.content-body" diff --git a/features/suggest_questions.feature b/features/suggest_questions.feature index 4cb76f2..89b7e2f 100644 --- a/features/suggest_questions.feature +++ b/features/suggest_questions.feature @@ -6,7 +6,7 @@ Feature: Suggest Questions Scenario: Suggest Question Given I am logged in as "recruit" And I am on the home page - When I follow "Suggestion Questions" within ".navigation.main-nav" + When I follow "Suggest Questions" within ".navigation.main-nav" And I follow "New question" And I fill in "question[title]" with "Some question" And press "Create Question" |