Project

General

Profile

Defect #5548 » 0003-updating-test-case-to-work-with-updated-svn-test-rep.patch

Gregor Schmidt, 2010-06-20 15:40

View differences:

test/functional/repositories_subversion_controller_test.rb
57 57
      assert_response :success
58 58
      assert_template 'show'
59 59
      assert_not_nil assigns(:entries)
60
      assert_equal ['folder', '.project', 'helloworld.c', 'textfile.txt'], assigns(:entries).collect(&:name)
60
      assert_equal ['[folder_with_brackets]', 'folder', '.project', 'helloworld.c', 'textfile.txt'], assigns(:entries).collect(&:name)
61 61
      entry = assigns(:entries).detect {|e| e.name == 'helloworld.c'}
62 62
      assert_equal 'file', entry.kind
63 63
      assert_equal 'subversion_test/helloworld.c', entry.path
(4-4/5)