X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0eb72b526bf8bbb011551ecf019f604e17a534f1..1471ad4b235e168ccee4fa351b0025b2b380d7ac:/apps/workbench/test/controllers/repositories_controller_test.rb?ds=sidebyside diff --git a/apps/workbench/test/controllers/repositories_controller_test.rb b/apps/workbench/test/controllers/repositories_controller_test.rb index 99e7285b3b..b81e2384c9 100644 --- a/apps/workbench/test/controllers/repositories_controller_test.rb +++ b/apps/workbench/test/controllers/repositories_controller_test.rb @@ -63,7 +63,7 @@ class RepositoriesControllerTest < ActionController::TestCase assert_response :success panes = css_select('[data-toggle=tab]').each do |pane| - pane_name = pane.attributes['href'] + pane_name = pane.attributes['href'].value assert_includes expected_panes, pane_name end end @@ -96,7 +96,7 @@ class RepositoriesControllerTest < ActionController::TestCase commit: sha1, }, session_for(user) assert_response :success - assert_select 'pre', h(commit) + assert_select 'pre', commit end test "show blob to #{user}" do @@ -108,7 +108,7 @@ class RepositoriesControllerTest < ActionController::TestCase path: 'COPYING', }, session_for(user) assert_response :success - assert_select 'pre', h(filedata) + assert_select 'pre', filedata end end