##// END OF EJS Templates
scm: add test of committer nil at unit changeset test....
Toshi MARUYAMA -
r5351:dab753ba28c2
parent child
Show More
@@ -330,9 +330,11 class ChangesetTest < ActiveSupport::TestCase
330 :committed_on => Time.now,
330 :committed_on => Time.now,
331 :revision => '123',
331 :revision => '123',
332 :scmid => '12345',
332 :scmid => '12345',
333 :comments => nil)
333 :comments => nil,
334 :committer => nil)
334 assert( c.save )
335 assert( c.save )
335 assert_equal "", c.comments
336 assert_equal "", c.comments
337 assert_equal nil, c.committer
336 if c.comments.respond_to?(:force_encoding)
338 if c.comments.respond_to?(:force_encoding)
337 assert_equal "UTF-8", c.comments.encoding.to_s
339 assert_equal "UTF-8", c.comments.encoding.to_s
338 end
340 end
General Comments 0
You need to be logged in to leave comments. Login now