summaryrefslogtreecommitdiff
path: root/help/test/unit/ticket_comment_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'help/test/unit/ticket_comment_test.rb')
-rw-r--r--help/test/unit/ticket_comment_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/help/test/unit/ticket_comment_test.rb b/help/test/unit/ticket_comment_test.rb
index 44865ed..fe8cc95 100644
--- a/help/test/unit/ticket_comment_test.rb
+++ b/help/test/unit/ticket_comment_test.rb
@@ -36,7 +36,7 @@ class TicketCommentTest < ActiveSupport::TestCase
=end
test "add comments" do
- testticket = Ticket.create :title => "testing"
+ testticket = Ticket.create :subject => "testing"
assert_equal testticket.comments.count, 0
comment = TicketComment.new :body => "my email broke"
#assert comment.valid? #validating or saving necessary for setting posted_at