diff options
Diffstat (limited to 'spec/requests/projects_spec.rb')
-rw-r--r-- | spec/requests/projects_spec.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/requests/projects_spec.rb b/spec/requests/projects_spec.rb deleted file mode 100644 index 7bc48260935..00000000000 --- a/spec/requests/projects_spec.rb +++ /dev/null @@ -1,17 +0,0 @@ -require 'spec_helper' - -describe "Projects" do - before { login_as :user } - - describe "DELETE /projects/:id" do - before do - @project = create(:project, namespace: @user.namespace) - @project.team << [@user, :master] - visit edit_project_path(@project) - end - - it "should be correct path" do - expect { click_link "Remove" }.to change {Project.count}.by(-1) - end - end -end |