aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-07-12 18:05:08 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-07-12 19:17:20 +0200
commit6d76d4906ed8dc457e5c2a992224609a9ecd7147 (patch)
tree03271b9e1714b4aa6dda1317d14543204feac578 /features
parentFirst user created doesn't become administrator (diff)
downloadrecruiting-webapp-6d76d4906ed8dc457e5c2a992224609a9ecd7147.tar.gz
recruiting-webapp-6d76d4906ed8dc457e5c2a992224609a9ecd7147.tar.bz2
recruiting-webapp-6d76d4906ed8dc457e5c2a992224609a9ecd7147.zip
Don't show reference field to non-recruiters
Diffstat (limited to 'features')
-rw-r--r--features/answer_text_question.feature4
1 files changed, 3 insertions, 1 deletions
diff --git a/features/answer_text_question.feature b/features/answer_text_question.feature
index a8d6186..7230fd9 100644
--- a/features/answer_text_question.feature
+++ b/features/answer_text_question.feature
@@ -10,5 +10,7 @@ Feature: Answering text question
When I am on show "question" question page
And I follow "Answer it!"
And fill in "answer[content]" with "my answer"
- And I press "Create Answer"
+ Then I should not see "Reference"
+
+ When I press "Create Answer"
Then I should see "The answer was created successfully" within ".flash.notice"