Fix not present test for Capybara
authorTom Morris <tfmorris@curoverse.com>
Thu, 29 Sep 2016 16:33:40 +0000 (12:33 -0400)
committerTom Morris <tfmorris@curoverse.com>
Thu, 29 Sep 2016 16:34:20 +0000 (12:34 -0400)
apps/workbench/test/integration/pipeline_instances_test.rb

index 3d8cbf0b630ee9ddcd7db17ccc4398c645db2b0c..77001561cf238013ad48f9fc39b33ec2b72a2643 100644 (file)
@@ -149,7 +149,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
     page.assert_selector 'a,button', text: 'Re-run options'
 
     # Since it is test env, no jobs are created to run. So, graph not visible
-    assert_not page.has_text? 'Graph'
+    assert page.has_no_text? 'Graph'
   end
 
   # Create a pipeline instance from within a project and run