MDL-43646 "disapprove" changed to "undo approval"

This commit is contained in:
Eloy Lafuente (stronk7) 2014-01-10 19:54:10 +01:00
parent d339d41274
commit 378240d57d

View file

@ -4,7 +4,7 @@ Feature: A teacher can choose whether glossary entries require approval
As a user
I need to enable entries requiring approval
Scenario: Approve and disapprove glossary entries
Scenario: Approve and undo approve glossary entries
Given the following "users" exists:
| username | firstname | lastname | email |
| teacher1 | Teacher | 1 | teacher1@asd.com |
@ -56,14 +56,14 @@ Feature: A teacher can choose whether glossary entries require approval
And I follow "Test glossary name"
Then I should see "Concept definition"
And I log out
# Disapprove the previous entry.
# Undo the approval of the previous entry.
And I log in as "teacher1"
And I follow "Course 1"
And I follow "Test glossary name"
And I follow "Disapprove"
And I follow "Undo approval"
And I log out
# Check that the entry is no longer visible by students.
And I log in as "student2"
And I follow "Course 1"
And I follow "Test glossary name"
Then I should see "No entries found in this section"
Then I should see "No entries found in this section"