issues_controller_test.rb.patch

Pavel Rosick√Ĺ, 2018-06-01 21:53

Download (535 Bytes)

View differences:

issues_controller_test.rb (working copy)
5979 5979
      end
5980 5980
    end
5981 5981
    assert_redirected_to '/projects/ecookbook/issues'
5982

  
5983
    copies = Issue.order('id DESC').limit(issues.size)
5984
    copies.each do |copy|
5985
      assert_equal 2, copy.project_id
5986
    end
5987 5982
  end
5988 5983

  
5989 5984
  def test_bulk_copy_without_add_issues_permission_should_be_allowed_on_project_with_permission