Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add test for pull request #17

  • Loading branch information...
commit beb2b4ab8b45bff0517c4abc61c833f7b07569e3 1 parent e6f9c8f
@jweiss jweiss authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 test/functional/deployments_controller_test.rb
View
6 test/functional/deployments_controller_test.rb
@@ -25,6 +25,12 @@ def test_should_not_get_new_if_deployment_not_possible
assert_response :redirect
end
+ def test_should_allow_to_prefil_description
+ get :new, :project_id => @project.id, :stage_id => @stage.id, :description => 'hello bert'
+ assert_response :success
+ assert_match /hello bert/, @response.body
+ end
+
def test_should_create_deployment_if_deployment_possbile
Deployment.delete_all
assert @stage.deployment_possible?
Please sign in to comment.
Something went wrong with that request. Please try again.