2014-10-02 12:42:54 -04:00
|
|
|
Feature: Project Fork
|
2013-03-19 11:37:50 -04:00
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
|
|
|
And I am a member of project "Shop"
|
|
|
|
When I visit project "Shop" page
|
|
|
|
|
|
|
|
Scenario: User fork a project
|
|
|
|
Given I click link "Fork"
|
2014-11-14 09:06:39 -05:00
|
|
|
When I fork to my namespace
|
2013-03-19 11:37:50 -04:00
|
|
|
Then I should see the forked project page
|
|
|
|
|
|
|
|
Scenario: User already has forked the project
|
|
|
|
Given I already have a project named "Shop" in my namespace
|
|
|
|
And I click link "Fork"
|
2014-11-14 09:06:39 -05:00
|
|
|
When I fork to my namespace
|
2013-03-19 11:37:50 -04:00
|
|
|
Then I should see a "Name has already been taken" warning
|