@@ -41,16 +41,6 class RepositoriesDarcsControllerTest < ActionController::TestCase | |||
|
41 | 41 | end |
|
42 | 42 | |
|
43 | 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 | 44 | def test_browse_root |
|
55 | 45 | @repository.fetch_changesets |
|
56 | 46 | @repository.reload |
General Comments 0
You need to be logged in to leave comments.
Login now