Commit 44a36b89 authored by Robert Speicher's avatar Robert Speicher

Use `:empty_project` where possible in features/steps

parent d4b2c53d
......@@ -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}",
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment