[#4177] Created a custom form for a Contract to match the comp.

This commit is contained in:
Eric Davis
2010-06-21 12:26:42 -07:00
parent 793fe165c1
commit 98733ff905
5 changed files with 100 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
require 'test_helper'
class ContractsNewTest < ActionController::IntegrationTest
include Redmine::I18n
def setup
@project = Project.generate!(:identifier => 'main')
end
should "allow any user to open the new contracts form" do
visit_contracts_for_project(@project)
click_link 'New Contract'
assert_response :success
assert_select "form#new_contract"
end
end