2875: remove pipeline instance fixture and use an existing one.
authorradhika <radhika@curoverse.com>
Tue, 16 Sep 2014 21:26:13 +0000 (17:26 -0400)
committerradhika <radhika@curoverse.com>
Tue, 16 Sep 2014 21:26:13 +0000 (17:26 -0400)
apps/workbench/test/integration/pipeline_instances_test.rb
services/api/test/fixtures/pipeline_instances.yml

index 370007e624a258b15ae6ff1c34ee8dad266f3e05..b996068b32b84726a2b920bbfe082ed0d460cc20 100644 (file)
@@ -162,13 +162,13 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
     visit page_with_token('active_trustedclient')
 
     visit '/pipeline_instances'
-    assert page.has_text? 'pipeline_with_template'
+    assert page.has_text? 'pipeline_with_job'
 
     find('a', text: 'pipeline_with_job').click
 
     within('.arv-description-as-subtitle') do
       find('.fa-pencil').click
-      find('.editable-input textarea').set('*Textile description for pipeline instance* - "link to template":' + api_fixture('pipeline_templates')['two_part']['uuid'])
+      find('.editable-input textarea').set('*Textile description for pipeline instance*')
       find('.editable-submit').click
     end
     wait_for_ajax
@@ -176,11 +176,6 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
     # verify description
     assert page.has_no_text? '*Textile description for pipeline instance*'
     assert page.has_text? 'Textile description for pipeline instance'
-    assert page.has_link? 'link to template'
-    click_link 'link to template'
-
-    # in template page
-    assert page.has_text? 'Two Part Pipeline Template'
   end
 
   test "JSON popup available for strange components" do
index d4172b7960020a755137ff8a517414b4e482be4c..7bfc2e1b3fe65d4882e2528eb6efaba07f858d6f 100644 (file)
@@ -62,11 +62,3 @@ components_is_jobspec:
         dataclass: Collection
         title: "Foo/bar pair"
         description: "Provide a collection containing at least two files."
-
-pipeline_with_template:
-  state: New
-  uuid: zzzzz-d1hrv-1234eyn6br1abcd
-  name: pipeline_with_template
-  owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
-  created_at: <%= 1.minute.ago.to_s(:db) %>
-  pipeline_template_uuid: zzzzz-p5p6p-aox0k0ofxrystgw