@@ -60,14 +60,6 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||||
60 | "Current value is '#{Encoding.default_external.to_s}'" |
|
60 | "Current value is '#{Encoding.default_external.to_s}'" | |
61 | def test_fake; assert true end |
|
61 | def test_fake; assert true end | |
62 | elsif File.directory?(REPOSITORY_PATH) |
|
62 | elsif File.directory?(REPOSITORY_PATH) | |
63 | def test_show |
|
|||
64 | get :show, :id => 3 |
|
|||
65 | assert_response :success |
|
|||
66 | assert_template 'show' |
|
|||
67 | assert_not_nil assigns(:entries) |
|
|||
68 | assert_not_nil assigns(:changesets) |
|
|||
69 | end |
|
|||
70 |
|
||||
71 | def test_show_root |
|
63 | def test_show_root | |
72 | @repository.fetch_changesets |
|
64 | @repository.fetch_changesets | |
73 | @repository.reload |
|
65 | @repository.reload |
General Comments 0
You need to be logged in to leave comments.
Login now