2014-06-04 16:55:27 -04:00
|
|
|
@admin
|
2013-01-09 00:14:05 -05:00
|
|
|
Feature: Admin Projects
|
|
|
|
Background:
|
|
|
|
Given I sign in as an admin
|
|
|
|
And there are projects in system
|
|
|
|
|
2015-08-18 11:46:57 -04:00
|
|
|
Scenario: I should see non-archived projects in the list
|
|
|
|
Given archived project "Archive"
|
2013-01-09 00:14:05 -05:00
|
|
|
When I visit admin projects page
|
2015-08-18 11:46:57 -04:00
|
|
|
Then I should see all non-archived projects
|
|
|
|
And I should not see project "Archive"
|
|
|
|
|
|
|
|
Scenario: I should see all projects in the list
|
|
|
|
Given archived project "Archive"
|
|
|
|
When I visit admin projects page
|
|
|
|
And I check "Show archived projects"
|
2013-01-09 00:14:05 -05:00
|
|
|
Then I should see all projects
|
2015-08-18 11:46:57 -04:00
|
|
|
And I should see "archived" label
|
2013-01-09 00:14:05 -05:00
|
|
|
|
|
|
|
Scenario: Projects show
|
|
|
|
When I visit admin projects page
|
|
|
|
And I click on first project
|
|
|
|
Then I should see project details
|
2014-06-19 06:20:42 -04:00
|
|
|
|
|
|
|
Scenario: Transfer project
|
|
|
|
Given group 'Web'
|
|
|
|
And I visit admin project page
|
|
|
|
When I transfer project to group 'Web'
|
|
|
|
Then I should see project transfered
|