3489: Add test for correct dropdown text.
authorTom Clegg <tom@curoverse.com>
Mon, 11 Aug 2014 19:07:22 +0000 (15:07 -0400)
committerTom Clegg <tom@curoverse.com>
Mon, 11 Aug 2014 19:10:03 +0000 (15:10 -0400)
apps/workbench/test/integration/pipeline_instances_test.rb

index 0a6c3404f1c5c5aa03347deafd2ef702d608e9c7..a27aff1029871029e77cec8e061dc22a16e3f72c 100644 (file)
@@ -117,6 +117,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
       click
 
     within('.modal-dialog') do
+      assert_selector 'button.dropdown-toggle', text: 'A Project'
       first('span', text: 'foo_tag').click
       find('button', text: 'OK').click
     end