Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 24
- Log:
Initial import of Collaboa 0.5.6 from downloaded Tarball. Collaboa is
a Ruby On Rails based bug tracker and SVN repository browsing tool.
- Author:
- adh
- Date:
- Mon Jul 24 21:54:39 +0100 2006
- Size:
- 607 Bytes
1 | require 'test_util' |
2 | |
3 | class Repos < ActionSubversion::Base |
4 | end |
5 | |
6 | class MimeFinderTest < Test::Unit::TestCase |
7 | include ActionSubversionTestUtil |
8 | |
9 | def setup |
10 | setup_repos |
11 | end |
12 | |
13 | def test_find_by_extensions |
14 | # this feels kinda superfluous |
15 | ActionSubversion::MimeFinder::ClassMethods::VIEWABLE_FILE_EXTENSIONS.each do |ext| |
16 | assert_equal ext[1], Repos.get_mime_type_by_extension('filename.' + ext[0]) |
17 | end |
18 | end |
19 | |
20 | def test_file_without_extension |
21 | assert_equal 'text/plain', Repos.get_mime_type_by_extension('filewithoutextension') |
22 | end |
23 | |
24 | def teardown |
25 | teardown_repos |
26 | end |
27 | |
28 | end |