Removed duplicated test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8666 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-01-16 20:23:25 +00:00
parent 346fccf782
commit 141630e771
1 changed files with 4 additions and 13 deletions

View File

@ -59,24 +59,15 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase
assert_not_nil assigns(:entries)
assert_not_nil assigns(:changesets)
entry = assigns(:entries).detect {|e| e.name == 'subversion_test'}
assert_not_nil entry
assert_equal 'dir', entry.kind
assert_tag 'input', :attributes => {:name => 'rev'}
assert_tag 'a', :content => 'Statistics'
assert_tag 'a', :content => 'Atom'
end
def test_browse_root
assert_equal 0, @repository.changesets.count
@repository.fetch_changesets
@project.reload
assert_equal NUM_REV, @repository.changesets.count
get :show, :id => PRJ_ID
assert_response :success
assert_template 'show'
assert_not_nil assigns(:entries)
entry = assigns(:entries).detect {|e| e.name == 'subversion_test'}
assert_equal 'dir', entry.kind
end
def test_browse_directory
assert_equal 0, @repository.changesets.count
@repository.fetch_changesets