Skip to content
Snippets Groups Projects
Commit cf39d282 authored by Robert Speicher's avatar Robert Speicher
Browse files

Use `:empty_project` where possible in features/steps

parent 88958e5a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -66,7 +66,7 @@ class Spinach::Features::ExploreGroups < Spinach::FeatureSteps
 
def group_has_project(groupname, projectname, visibility_level)
group = Group.find_by(name: groupname) || create(:group, name: groupname)
project = create(:project,
project = create(:empty_project,
namespace: group,
name: projectname,
path: "#{groupname}-#{projectname}",
Loading
Loading
Loading
Loading
@@ -9,7 +9,7 @@ module SharedProject
 
step "I own a project in some group namespace" do
@group = create(:group, name: 'some group')
@project = create(:project, namespace: @group)
@project = create(:empty_project, namespace: @group)
@project.team << [@user, :master]
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment