diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-03-04 15:35:15 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-03-04 15:35:15 +0200 |
commit | 0727edd8a0c68b640b95fabce21472b04a806562 (patch) | |
tree | 5337e8f6b546806e4c4697048ff695a6b6f05697 /spec/requests/issues_spec.rb | |
parent | 3fe9d2972f37f408f403a98a3bdde16174163350 (diff) | |
download | gitlab-ce-0727edd8a0c68b640b95fabce21472b04a806562.tar.gz |
Removed issues,mr delete buttons. Refactored models
Diffstat (limited to 'spec/requests/issues_spec.rb')
-rw-r--r-- | spec/requests/issues_spec.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/requests/issues_spec.rb b/spec/requests/issues_spec.rb index bff99531ee7..f3f38fd9646 100644 --- a/spec/requests/issues_spec.rb +++ b/spec/requests/issues_spec.rb @@ -46,21 +46,6 @@ describe "Issues" do page.body.should have_selector("entry summary", :text => @issue.title) end - describe "Destroy" do - before do - # admin access to remove issue - @user.users_projects.destroy_all - project.add_access(@user, :read, :write, :admin) - visit edit_project_issue_path(project, @issue) - end - - it "should remove entry" do - expect { - click_link "Remove" - }.to change { Issue.count }.by(-1) - end - end - describe "statuses" do before do @closed_issue = Factory :issue, |