assert_response :success
assert_template 'show'
assert_not_nil assigns(:entries)
- assert_equal ['[folder_with_brackets]', 'folder', '.project', 'helloworld.c', 'textfile.txt'],
- assigns(:entries).collect(&:name)
+ assert_equal [
+ '[folder_with_brackets]', 'folder', '.project',
+ 'helloworld.c', 'textfile.txt'
+ ],
+ assigns(:entries).collect(&:name)
entry = assigns(:entries).detect {|e| e.name == 'helloworld.c'}
assert_equal 'file', entry.kind
assert_equal 'subversion_test/helloworld.c', entry.path