@@ -41,16 +41,6 class RepositoriesDarcsControllerTest < ActionController::TestCase | |||||
41 | end |
|
41 | end | |
42 |
|
42 | |||
43 | if File.directory?(REPOSITORY_PATH) |
|
43 | if File.directory?(REPOSITORY_PATH) | |
44 | def test_show |
|
|||
45 | @repository.fetch_changesets |
|
|||
46 | @repository.reload |
|
|||
47 | get :show, :id => PRJ_ID |
|
|||
48 | assert_response :success |
|
|||
49 | assert_template 'show' |
|
|||
50 | assert_not_nil assigns(:entries) |
|
|||
51 | assert_not_nil assigns(:changesets) |
|
|||
52 | end |
|
|||
53 |
|
||||
54 | def test_browse_root |
|
44 | def test_browse_root | |
55 | @repository.fetch_changesets |
|
45 | @repository.fetch_changesets | |
56 | @repository.reload |
|
46 | @repository.reload |
General Comments 0
You need to be logged in to leave comments.
Login now