[ARVADOS] updated: dd89205a44c5eae19b830c3f48ff4852bc81a047

git at public.curoverse.com git at public.curoverse.com
Tue Aug 5 10:14:26 EDT 2014


Summary of changes:
 .../workbench/test/integration/pipeline_templates_test.rb | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 apps/workbench/test/integration/pipeline_templates_test.rb

       via  dd89205a44c5eae19b830c3f48ff4852bc81a047 (commit)
      from  ba74da924cccb098e3cc0dc4f5c44c1666395795 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit dd89205a44c5eae19b830c3f48ff4852bc81a047
Author: Brett Smith <brett at curoverse.com>
Date:   Tue Aug 5 10:15:54 2014 -0400

    3321: Add test for rendering unusual pipeline templates.
    
    I wrote this along with the rest of the code for refs #3321, but
    failed to commit it.

diff --git a/apps/workbench/test/integration/pipeline_templates_test.rb b/apps/workbench/test/integration/pipeline_templates_test.rb
new file mode 100644
index 0000000..d131986
--- /dev/null
+++ b/apps/workbench/test/integration/pipeline_templates_test.rb
@@ -0,0 +1,15 @@
+require 'integration_helper'
+
+class PipelineTemplatesTest < ActionDispatch::IntegrationTest
+  test "JSON popup available for strange components" do
+    Capybara.current_driver = Capybara.javascript_driver
+    uuid = api_fixture("pipeline_templates")["components_is_jobspec"]["uuid"]
+    visit page_with_token("active", "/pipeline_templates/#{uuid}")
+    click_on "Components"
+    assert(page.has_no_text?("script_parameters"),
+           "components JSON visible without popup")
+    click_on "Show components JSON"
+    assert(page.has_text?("script_parameters"),
+           "components JSON not found")
+  end
+end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list