summaryrefslogtreecommitdiff
path: root/features/project/fork.feature
blob: dc477ca3bf334b8e47d354b410be8792cf7c3fe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Feature: Fork Project
  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"
    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"
    Then I should see a "Name has already been taken" warning