Commit 552c2d66 authored by Riyad Preukschas's avatar Riyad Preukschas

Merge pull request #2205 from Partugal/patch-fix-spec

fix failing spec
parents ab77ceca 07e4a12a
...@@ -58,7 +58,7 @@ describe "Projects" do ...@@ -58,7 +58,7 @@ describe "Projects" do
describe "DELETE /projects/:id" do describe "DELETE /projects/:id" do
before do before do
@project = create(:project) @project = create(:project, owner: @user)
@project.add_access(@user, :read, :admin) @project.add_access(@user, :read, :admin)
visit edit_project_path(@project) visit edit_project_path(@project)
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