Commit c3270875 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix project team tests

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 38034278
...@@ -79,7 +79,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps ...@@ -79,7 +79,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps
end end
Given 'I own project "Website"' do Given 'I own project "Website"' do
@project = create(:project, name: "Website", namespace: @user.namespace) @project = create(:empty_project, name: "Website", namespace: @user.namespace)
@project.team << [@user, :master] @project.team << [@user, :master]
end 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