summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-02-17 18:05:40 +0100
committerJames Lopez <james@jameslopez.es>2016-02-17 18:05:40 +0100
commit4b650fac76c35bd8666d7a53ad6ff02f256ad64d (patch)
treecda2723be0e843c7cbb8c6cc3d152b341a02b60a /features
parentdd68d100e659d315ce6b21dac914beeda0fd1d4c (diff)
downloadgitlab-ce-4b650fac76c35bd8666d7a53ad6ff02f256ad64d.tar.gz
updated fix based on MR feedback
Diffstat (limited to 'features')
-rw-r--r--features/project/fork.feature2
-rw-r--r--features/steps/project/fork.rb5
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