Commit f8160ae5 authored by marutosijp's avatar marutosijp

fix assertion order at RepositoryCvsTest#test_entries_rev3

git-svn-id: https://svn.redmine.org/redmine/trunk@13907 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent a2f99cd0
......@@ -188,12 +188,12 @@ class RepositoryCvsTest < ActiveSupport::TestCase
entries = @repository.entries('', '3')
assert_kind_of Redmine::Scm::Adapters::Entries, entries
assert_equal 3, entries.size
assert_equal entries[2].name, "README"
assert_equal "README", entries[2].name
assert_equal 'UTF-8', entries[2].path.encoding.to_s
assert_equal entries[2].lastrev.time, Time.gm(2007, 12, 13, 16, 27, 22)
assert_equal entries[2].lastrev.identifier, '3'
assert_equal entries[2].lastrev.revision, '3'
assert_equal entries[2].lastrev.author, 'LANG'
assert_equal Time.gm(2007, 12, 13, 16, 27, 22), entries[2].lastrev.time
assert_equal '3', entries[2].lastrev.identifier
assert_equal '3', entries[2].lastrev.revision
assert_equal 'LANG', entries[2].lastrev.author
end
def test_entries_invalid_path
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment