@@ -663,7 +663,7 class MailHandlerTest < ActiveSupport::TestCase | |||||
663 | end |
|
663 | end | |
664 | end |
|
664 | end | |
665 | end |
|
665 | end | |
666 |
journal = Journal. |
|
666 | journal = Journal.order('id DESC').first | |
667 | assert_equal Issue.find(2), journal.journalized |
|
667 | assert_equal Issue.find(2), journal.journalized | |
668 | assert_equal 1, journal.details.size |
|
668 | assert_equal 1, journal.details.size | |
669 |
|
669 | |||
@@ -846,8 +846,7 class MailHandlerTest < ActiveSupport::TestCase | |||||
846 | :unknown_user => 'create' |
|
846 | :unknown_user => 'create' | |
847 | ) |
|
847 | ) | |
848 | end |
|
848 | end | |
849 |
|
849 | user = User.order('id DESC').first | ||
850 | user = User.first(:order => 'id DESC') |
|
|||
851 | assert_equal "foo@example.org", user.mail |
|
850 | assert_equal "foo@example.org", user.mail | |
852 | str1 = "\xc3\x84\xc3\xa4" |
|
851 | str1 = "\xc3\x84\xc3\xa4" | |
853 | str2 = "\xc3\x96\xc3\xb6" |
|
852 | str2 = "\xc3\x96\xc3\xb6" |
General Comments 0
You need to be logged in to leave comments.
Login now