@@ -78,7 +78,8 class RepositoriesSubversionControllerTest < Test::Unit::TestCase | |||||
78 | get :changes, :id => 1, :path => ['subversion_test', 'folder', 'helloworld.rb' ] |
|
78 | get :changes, :id => 1, :path => ['subversion_test', 'folder', 'helloworld.rb' ] | |
79 | assert_response :success |
|
79 | assert_response :success | |
80 | assert_template 'changes' |
|
80 | assert_template 'changes' | |
81 | # svn properties |
|
81 | # svn properties displayed with svn >= 1.5 only | |
|
82 | if Redmine::Scm::Adapters::SubversionAdapter.client_version_above?([1, 5, 0]) | |||
82 | assert_not_nil assigns(:properties) |
|
83 | assert_not_nil assigns(:properties) | |
83 | assert_equal 'native', assigns(:properties)['svn:eol-style'] |
|
84 | assert_equal 'native', assigns(:properties)['svn:eol-style'] | |
84 | assert_tag :ul, |
|
85 | assert_tag :ul, | |
@@ -86,6 +87,7 class RepositoriesSubversionControllerTest < Test::Unit::TestCase | |||||
86 | :child => { :tag => 'b', :content => 'svn:eol-style' }, |
|
87 | :child => { :tag => 'b', :content => 'svn:eol-style' }, | |
87 | :child => { :tag => 'span', :content => 'native' } } |
|
88 | :child => { :tag => 'span', :content => 'native' } } | |
88 | end |
|
89 | end | |
|
90 | end | |||
89 |
|
91 | |||
90 | def test_entry |
|
92 | def test_entry | |
91 | get :entry, :id => 1, :path => ['subversion_test', 'helloworld.c'] |
|
93 | get :entry, :id => 1, :path => ['subversion_test', 'helloworld.c'] |
General Comments 0
You need to be logged in to leave comments.
Login now