From 07e4a12a095000ac9a062db566573ebb66efabb7 Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Thu, 6 Dec 2012 23:38:38 +0400 Subject: [PATCH] fix failing spec --- spec/requests/projects_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/projects_spec.rb b/spec/requests/projects_spec.rb index 8c0f8e5f..e097f080 100644 --- a/spec/requests/projects_spec.rb +++ b/spec/requests/projects_spec.rb @@ -58,7 +58,7 @@ describe "Projects" do describe "DELETE /projects/:id" do before do - @project = create(:project) + @project = create(:project, owner: @user) @project.add_access(@user, :read, :admin) visit edit_project_path(@project) end