summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_bazaar_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-03 11:46:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-03 11:46:58 +0000
commit2cbf9c9cc48135019dae50ccc5d9b07a44af8325 (patch)
treea191f37eca9f1cd62ad15c8fa04af319d8068d6b /test/unit/repository_bazaar_test.rb
parentdd9c2cafa795ec00875981dcedd3287d2d005457 (diff)
downloadredmine-2cbf9c9cc48135019dae50ccc5d9b07a44af8325.tar.gz
redmine-2cbf9c9cc48135019dae50ccc5d9b07a44af8325.zip
Renamed #changes association to #filechanges (clash with AR::Base.changes that triggers errors with Rails 3.2.5).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9759 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_bazaar_test.rb')
-rw-r--r--test/unit/repository_bazaar_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/repository_bazaar_test.rb b/test/unit/repository_bazaar_test.rb
index 6e92aa33e..2713f9473 100644
--- a/test/unit/repository_bazaar_test.rb
+++ b/test/unit/repository_bazaar_test.rb
@@ -67,7 +67,7 @@ class RepositoryBazaarTest < ActiveSupport::TestCase
@project.reload
assert_equal NUM_REV, @repository.changesets.count
- assert_equal 9, @repository.changes.count
+ assert_equal 9, @repository.filechanges.count
assert_equal 'Initial import', @repository.changesets.find_by_revision('1').comments
end