diff options
author | Azul <azul@leap.se> | 2013-11-18 21:05:59 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-11-18 21:05:59 +0100 |
commit | e3ac45fc57fc3566a7963e5ea0d888d6349387e5 (patch) | |
tree | ac866353183d856702f7de99b5eac00f91143e78 /help/test/functional | |
parent | 6c6c3d01233cb095b3855bbdf1c33dbb90267771 (diff) | |
parent | d2eaffde87286c0cc9c0658503a60706759f7f51 (diff) |
Merge branch 'develop' - hotfix for database change
Diffstat (limited to 'help/test/functional')
-rw-r--r-- | help/test/functional/tickets_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/help/test/functional/tickets_controller_test.rb b/help/test/functional/tickets_controller_test.rb index 3747ad0..0f56e6e 100644 --- a/help/test/functional/tickets_controller_test.rb +++ b/help/test/functional/tickets_controller_test.rb @@ -53,7 +53,7 @@ class TicketsControllerTest < ActionController::TestCase end test "should create unauthenticated ticket" do - params = {:title => "unauth ticket test title", :comments_attributes => {"0" => {"body" =>"body of test ticket"}}} + params = {:subject => "unauth ticket test subject", :comments_attributes => {"0" => {"body" =>"body of test ticket"}}} assert_difference('Ticket.count') do post :create, :ticket => params @@ -70,7 +70,7 @@ class TicketsControllerTest < ActionController::TestCase test "should create authenticated ticket" do - params = {:title => "auth ticket test title", :comments_attributes => {"0" => {"body" =>"body of test ticket"}}} + params = {:subject => "auth ticket test subject", :comments_attributes => {"0" => {"body" =>"body of test ticket"}}} login |