2800: Merge branch 'master' into 2800-pgs
[arvados.git] / apps / workbench / test / integration / application_layout_test.rb
index 64eb2b2b18cc50eb7b520b1a9ddb16ee0823ab08..8a0ebc3c29c8ba04c27c41227fff289a4bdbf534 100644 (file)
@@ -151,10 +151,10 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest
         page.find_field('name').set 'added_in_test'
         click_button 'Submit'
       end
-    end
 
-    # key must be added. look for it in the refreshed page
-    assert page.has_text? 'added_in_test'
+      # key must be added. look for it in the refreshed page
+      assert page.has_text? 'added_in_test'
+    end
   end
 
   # Check manage profile page and add missing profile to the user