diff options
author | James Lopez <james@jameslopez.es> | 2016-02-17 18:05:40 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-02-17 18:05:40 +0100 |
commit | 4b650fac76c35bd8666d7a53ad6ff02f256ad64d (patch) | |
tree | cda2723be0e843c7cbb8c6cc3d152b341a02b60a /features | |
parent | dd68d100e659d315ce6b21dac914beeda0fd1d4c (diff) | |
download | gitlab-ce-4b650fac76c35bd8666d7a53ad6ff02f256ad64d.tar.gz |
updated fix based on MR feedback
Diffstat (limited to 'features')
-rw-r--r-- | features/project/fork.feature | 2 | ||||
-rw-r--r-- | features/steps/project/fork.rb | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/features/project/fork.feature b/features/project/fork.feature index 5f55b64c4ac..ca3f2771aa5 100644 --- a/features/project/fork.feature +++ b/features/project/fork.feature @@ -37,7 +37,7 @@ Feature: Project Fork When I fork to my namespace And I make forked repo invalid And I visit the forks page of the "Shop" project - Then I should not see the invalid fork listed + Then I should see my fork on the list Scenario: Viewing private forks of a Project Given There is an existent fork of the "Shop" project diff --git a/features/steps/project/fork.rb b/features/steps/project/fork.rb index 7e5160bae2f..527f7853da9 100644 --- a/features/steps/project/fork.rb +++ b/features/steps/project/fork.rb @@ -68,11 +68,6 @@ class Spinach::Features::ProjectFork < Spinach::FeatureSteps project.save! end - step 'I should not see the invalid fork listed' do - project = @user.fork_of(@project) - expect(page).not_to have_content("#{project.namespace.human_name} / #{project.name}") - end - step 'There is an existent fork of the "Shop" project' do user = create(:user, name: 'Mike') @forked_project = Projects::ForkService.new(@project, user).execute |