2961: Removed calls to wait_for_ajax, fixes user tests.
authorPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 10 Jun 2014 17:31:46 +0000 (13:31 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 10 Jun 2014 17:31:46 +0000 (13:31 -0400)
apps/workbench/test/integration/users_test.rb

index 765156376feb8de6946e6b6e8d21d8b25c1483d5..6646e5a3f1df27bb0d4fbd141ca2c67e27c25155 100644 (file)
@@ -120,7 +120,6 @@ class UsersTest < ActionDispatch::IntegrationTest
       assert has_text? 'Virtual Machine'
       fill_in "repo_name", :with => "test_repo"
       click_button "Submit"
-      wait_for_ajax
     end
 
     assert page.has_text? 'modified_by_client_uuid'
@@ -139,7 +138,6 @@ class UsersTest < ActionDispatch::IntegrationTest
       fill_in "repo_name", :with => "second_test_repo"
       select("testvm.shell", :from => 'vm_uuid')
       click_button "Submit"
-      wait_for_ajax
     end
 
     assert page.has_text? 'modified_by_client_uuid'
@@ -204,7 +202,6 @@ class UsersTest < ActionDispatch::IntegrationTest
       fill_in "repo_name", :with => "second_test_repo"
       select("testvm.shell", :from => 'vm_uuid')
       click_button "Submit"
-      wait_for_ajax
     end
 
     assert page.has_text? 'modified_by_client_uuid'