summaryrefslogtreecommitdiffstats
path: root/test/functional/repositories_subversion_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/repositories_subversion_controller_test.rb')
-rw-r--r--test/functional/repositories_subversion_controller_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb
index 4127b152e..66522d6e5 100644
--- a/test/functional/repositories_subversion_controller_test.rb
+++ b/test/functional/repositories_subversion_controller_test.rb
@@ -62,7 +62,7 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase
entry = assigns(:entries).detect {|e| e.name == 'subversion_test'}
assert_not_nil entry
assert_equal 'dir', entry.kind
- assert_select 'tr.dir a[href=/projects/subproject1/repository/show/subversion_test]'
+ assert_select 'tr.dir a[href="/projects/subproject1/repository/show/subversion_test"]'
assert_tag 'input', :attributes => {:name => 'rev'}
assert_tag 'a', :content => 'Statistics'
@@ -80,9 +80,9 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase
get :show, :id => PRJ_ID, :repository_id => 'svn'
assert_response :success
assert_template 'show'
- assert_select 'tr.dir a[href=/projects/subproject1/repository/svn/show/subversion_test]'
+ assert_select 'tr.dir a[href="/projects/subproject1/repository/svn/show/subversion_test"]'
# Repository menu should link to the main repo
- assert_select '#main-menu a[href=/projects/subproject1/repository]'
+ assert_select '#main-menu a[href="/projects/subproject1/repository"]'
end
def test_browse_directory