summaryrefslogtreecommitdiff
path: root/help/test/functional
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2013-11-18 12:03:06 -0800
committerazul <azul@riseup.net>2013-11-18 12:03:06 -0800
commitd2eaffde87286c0cc9c0658503a60706759f7f51 (patch)
treefeb272583ca7d4d98eb3f53e0767586d83493a8c /help/test/functional
parent7a107e0d38271e7103d3494e06d52f3434022f22 (diff)
parenteca6caac21254c72b512c0bc9b3514b544396c7c (diff)
Merge pull request #114 from jessib/feature/rename_ticket_title_to_subject
Feature/rename ticket title to subject
Diffstat (limited to 'help/test/functional')
-rw-r--r--help/test/functional/tickets_controller_test.rb4
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