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

fix failing spec
This commit is contained in:
Riyad Preukschas 2012-12-06 12:00:45 -08:00
commit 552c2d665b

View file

@ -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