Commit 552c2d665bf4f5bbb6fc0a4f04ec30e4263bbfe4
Exists in
master
and in
4 other branches
Merge pull request #2205 from Partugal/patch-fix-spec
fix failing spec
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/requests/projects_spec.rb
@@ -58,7 +58,7 @@ describe "Projects" do | @@ -58,7 +58,7 @@ describe "Projects" do | ||
58 | 58 | ||
59 | describe "DELETE /projects/:id" do | 59 | describe "DELETE /projects/:id" do |
60 | before do | 60 | before do |
61 | - @project = create(:project) | 61 | + @project = create(:project, owner: @user) |
62 | @project.add_access(@user, :read, :admin) | 62 | @project.add_access(@user, :read, :admin) |
63 | visit edit_project_path(@project) | 63 | visit edit_project_path(@project) |
64 | end | 64 | end |