Browse Source

add attachments existence assertion to IssuesControllerTest#test_get_bulk_copy

git-svn-id: http://svn.redmine.org/redmine/trunk@19920 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Toshi MARUYAMA 3 years ago
parent
commit
2982737466
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      test/functional/issues_controller_test.rb

+ 4
- 0
test/functional/issues_controller_test.rb View File

@@ -7149,6 +7149,10 @@ class IssuesControllerTest < Redmine::ControllerTest
end

def test_get_bulk_copy
assert_not Issue.find(1).attachments.any?
assert Issue.find(2).attachments.any?
assert Issue.find(3).attachments.any?

@request.session[:user_id] = 2
get(
:bulk_edit,

Loading…
Cancel
Save