Merge branch '15133-remove-jobs-api' refs #15133
[arvados.git] / apps / workbench / test / integration / repositories_browse_test.rb
index 056598ef11e1719cf92409947b12be34d6d0485a..1fd9d900845e9ee8cac28bfe71a3e4d5d5f66ec2 100644 (file)
@@ -16,29 +16,6 @@ class RepositoriesTest < ActionDispatch::IntegrationTest
     need_javascript
   end
 
-  test "browse repository from jobs#show" do
-    sha1 = api_fixture('jobs')['running']['script_version']
-    _, fakecommit, fakefile =
-      stub_repo_content sha1: sha1, filename: 'crunch_scripts/hash'
-    show_object_using 'active', 'jobs', 'running', sha1
-    click_on api_fixture('jobs')['running']['script']
-    assert_text fakefile
-    click_on 'crunch_scripts'
-    assert_selector 'td a', text: 'hash'
-    click_on 'foo'
-    assert_selector 'td a', text: 'crunch_scripts'
-    click_on sha1
-    assert_text fakecommit
-
-    show_object_using 'active', 'jobs', 'running', sha1
-    click_on 'active/foo'
-    assert_selector 'td a', text: 'crunch_scripts'
-
-    show_object_using 'active', 'jobs', 'running', sha1
-    click_on sha1
-    assert_text fakecommit
-  end
-
   test "browse using arv-git-http" do
     repo = api_fixture('repositories')['foo']
     Repository.any_instance.