scm: git: remove duplicate test from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5197 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b9bfb0f117
commit
002ff62e33
|
@ -42,18 +42,6 @@ class RepositoriesGitControllerTest < ActionController::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
if File.directory?(REPOSITORY_PATH)
|
if File.directory?(REPOSITORY_PATH)
|
||||||
def test_show
|
|
||||||
@repository.fetch_changesets
|
|
||||||
@repository.reload
|
|
||||||
get :show, :id => 3
|
|
||||||
assert_response :success
|
|
||||||
assert_template 'show'
|
|
||||||
assert_not_nil assigns(:entries)
|
|
||||||
assert assigns(:entries).size > 0
|
|
||||||
assert_not_nil assigns(:changesets)
|
|
||||||
assigns(:changesets).size > 0
|
|
||||||
end
|
|
||||||
|
|
||||||
def test_browse_root
|
def test_browse_root
|
||||||
@repository.fetch_changesets
|
@repository.fetch_changesets
|
||||||
@repository.reload
|
@repository.reload
|
||||||
|
|
Loading…
Reference in New Issue