[#4327] Add a select field to selecting the deliverable for an issue.
This commit is contained in:
1 parent
ad8dec8638
commit
729acf200d
5 files changed
+66
-29
No files matched your search
@@ -1,26 +0,0 @@
|
||||
require File.dirname(__FILE__) + '/../../../../test_helper'
|
||||
|
||||
class RedmineContracts::Hooks::ViewIssuesFormDetailsBottomTest < ActionController::TestCase
|
||||
include Redmine::Hook::Helper
|
||||
|
||||
def controller
|
||||
@controller ||= ApplicationController.new
|
||||
@controller.response ||= ActionController::TestResponse.new
|
||||
@controller
|
||||
end
|
||||
|
||||
def request
|
||||
@request ||= ActionController::TestRequest.new
|
||||
end
|
||||
|
||||
def hook(args={})
|
||||
call_hook :view_issues_form_details_bottom, args
|
||||
end
|
||||
|
||||
context "#view_issues_form_details_bottom" do
|
||||
should "return an empty string" do
|
||||
@response.body = hook
|
||||
assert @response.body.blank?
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user