From 5b8709e261f1d0b93c9823cf88a682ca221cae91 Mon Sep 17 00:00:00 2001 From: radhika Date: Fri, 12 Jun 2015 14:26:52 -0400 Subject: [PATCH] 6254: add groups and verify in test. --- apps/workbench/test/integration/users_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/workbench/test/integration/users_test.rb b/apps/workbench/test/integration/users_test.rb index a329f5188e..89554d3f87 100644 --- a/apps/workbench/test/integration/users_test.rb +++ b/apps/workbench/test/integration/users_test.rb @@ -125,6 +125,7 @@ class UsersTest < ActionDispatch::IntegrationTest within '.modal-content' do fill_in "repo_name", :with => "activetestrepo2" select("testvm.shell", :from => 'vm_uuid') + fill_in "groups", :with => "test group one, test-group-two" click_button "Submit" end @@ -135,6 +136,7 @@ class UsersTest < ActionDispatch::IntegrationTest click_link 'Metadata' assert page.has_text? 'Repository: active/activetestrepo2' assert page.has_text? 'VirtualMachine: testvm.shell' + assert page.has_text? '["test group one", "test-group-two"]' end test "unsetup active user" do -- 2.30.2