@@ -326,13 +326,15 class ChangesetTest < ActiveSupport::TestCase | |||
|
326 | 326 | :project => proj, :url => '/tmp/test/bazaar', |
|
327 | 327 | :log_encoding => 'ISO-8859-1' ) |
|
328 | 328 | assert r |
|
329 | c = Changeset.new(:repository => r, | |
|
329 | c = Changeset.new(:repository => r, | |
|
330 | 330 | :committed_on => Time.now, |
|
331 | :revision => '123', | |
|
332 | :scmid => '12345', | |
|
333 |
:comments => nil |
|
|
331 | :revision => '123', | |
|
332 | :scmid => '12345', | |
|
333 | :comments => nil, | |
|
334 | :committer => nil) | |
|
334 | 335 | assert( c.save ) |
|
335 | 336 | assert_equal "", c.comments |
|
337 | assert_equal nil, c.committer | |
|
336 | 338 | if c.comments.respond_to?(:force_encoding) |
|
337 | 339 | assert_equal "UTF-8", c.comments.encoding.to_s |
|
338 | 340 | end |
General Comments 0
You need to be logged in to leave comments.
Login now