##// END OF EJS Templates
fix assertion order at RepositoryCvsTest#test_entries_rev3...
Toshi MARUYAMA -
r13525:403fb37d1c2d
parent child
Show More
@@ -188,12 +188,12 class RepositoryCvsTest < ActiveSupport::TestCase
188 entries = @repository.entries('', '3')
188 entries = @repository.entries('', '3')
189 assert_kind_of Redmine::Scm::Adapters::Entries, entries
189 assert_kind_of Redmine::Scm::Adapters::Entries, entries
190 assert_equal 3, entries.size
190 assert_equal 3, entries.size
191 assert_equal entries[2].name, "README"
191 assert_equal "README", entries[2].name
192 assert_equal 'UTF-8', entries[2].path.encoding.to_s
192 assert_equal 'UTF-8', entries[2].path.encoding.to_s
193 assert_equal entries[2].lastrev.time, Time.gm(2007, 12, 13, 16, 27, 22)
193 assert_equal Time.gm(2007, 12, 13, 16, 27, 22), entries[2].lastrev.time
194 assert_equal entries[2].lastrev.identifier, '3'
194 assert_equal '3', entries[2].lastrev.identifier
195 assert_equal entries[2].lastrev.revision, '3'
195 assert_equal '3', entries[2].lastrev.revision
196 assert_equal entries[2].lastrev.author, 'LANG'
196 assert_equal 'LANG', entries[2].lastrev.author
197 end
197 end
198
198
199 def test_entries_invalid_path
199 def test_entries_invalid_path
General Comments 0
You need to be logged in to leave comments. Login now