@@ -73,8 +73,11 class RepositoriesSubversionControllerTest < ActionController::TestCase | |||
|
73 | 73 | assert_response :success |
|
74 | 74 | assert_template 'show' |
|
75 | 75 | assert_not_nil assigns(:entries) |
|
76 | assert_equal ['[folder_with_brackets]', 'folder', '.project', 'helloworld.c', 'textfile.txt'], | |
|
77 | assigns(:entries).collect(&:name) | |
|
76 | assert_equal [ | |
|
77 | '[folder_with_brackets]', 'folder', '.project', | |
|
78 | 'helloworld.c', 'textfile.txt' | |
|
79 | ], | |
|
80 | assigns(:entries).collect(&:name) | |
|
78 | 81 | entry = assigns(:entries).detect {|e| e.name == 'helloworld.c'} |
|
79 | 82 | assert_equal 'file', entry.kind |
|
80 | 83 | assert_equal 'subversion_test/helloworld.c', entry.path |
General Comments 0
You need to be logged in to leave comments.
Login now