From ff56024b9bb3e3b38f440d5355bf87075efcccc7 Mon Sep 17 00:00:00 2001 From: Tim Felgentreff Date: Tue, 14 Sep 2010 15:21:32 +0200 Subject: [PATCH] it's created_at on journals --- test/unit/repository_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/repository_test.rb b/test/unit/repository_test.rb index 6512c067..b900636c 100644 --- a/test/unit/repository_test.rb +++ b/test/unit/repository_test.rb @@ -91,7 +91,7 @@ class RepositoryTest < ActiveSupport::TestCase assert_equal [101], fixed_issue.changeset_ids # issue change - journal = fixed_issue.journals.find(:first, :order => 'created_on desc') + journal = fixed_issue.journals.find(:first, :order => 'created_at desc') assert_equal User.find_by_login('dlopper'), journal.user assert_equal 'Applied in changeset r2.', journal.notes