From ba6384e7c7aedc2402fee8d6f2feeee743e5c14f Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 28 May 2018 15:58:39 +0300 Subject: Redesign group settings page into expandable sections Signed-off-by: Dmitriy Zaporozhets --- spec/features/groups_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'spec/features') diff --git a/spec/features/groups_spec.rb b/spec/features/groups_spec.rb index c1f3d94bc20..185770c312f 100644 --- a/spec/features/groups_spec.rb +++ b/spec/features/groups_spec.rb @@ -141,8 +141,10 @@ feature 'Group' do end it 'saves new settings' do - fill_in 'group_name', with: new_name - click_button 'Save group' + page.within('.as-general') do + fill_in 'group_name', with: new_name + click_button 'Save group' + end expect(page).to have_content 'successfully updated' expect(find('#group_name').value).to eq(new_name) -- cgit v1.2.1