summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
Diffstat (limited to 'features')
-rw-r--r--features/steps/dashboard/dashboard.rb2
-rw-r--r--features/steps/group/group.rb2
-rw-r--r--features/steps/project/project_network_graph.rb5
3 files changed, 2 insertions, 7 deletions
diff --git a/features/steps/dashboard/dashboard.rb b/features/steps/dashboard/dashboard.rb
index 5baf4e757ac..bde32128b92 100644
--- a/features/steps/dashboard/dashboard.rb
+++ b/features/steps/dashboard/dashboard.rb
@@ -57,7 +57,7 @@ class Dashboard < Spinach::FeatureSteps
And 'I have group with projects' do
@group = create(:group)
- @project = create(:project, group: @group)
+ @project = create(:project, namespace: @group)
@event = create(:closed_issue_event, project: @project)
@project.team << [current_user, :master]
diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb
index 45dda6ff55e..71f29121179 100644
--- a/features/steps/group/group.rb
+++ b/features/steps/group/group.rb
@@ -11,7 +11,7 @@ class Groups < Spinach::FeatureSteps
And 'I have group with projects' do
@group = create(:group, owner: current_user)
- @project = create(:project, group: @group)
+ @project = create(:project, namespace: @group)
@event = create(:closed_issue_event, project: @project)
@project.team << [current_user, :master]
diff --git a/features/steps/project/project_network_graph.rb b/features/steps/project/project_network_graph.rb
index 57015f76626..127adecf7ed 100644
--- a/features/steps/project/project_network_graph.rb
+++ b/features/steps/project/project_network_graph.rb
@@ -38,11 +38,6 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
sleep 2
end
- When 'I switch ref to "v2.1.0"' do
- page.select 'v2.1.0', from: 'ref'
- sleep 2
- end
-
When 'click "Show only selected branch" checkbox' do
find('#filter_ref').click
sleep 2