Commit d813759b authored by Phil Hughes's avatar Phil Hughes

fixed specs

parent 01090760
- if @project.feature_available?(:issuable_default_templates)
- expanded = Rails.env.test?
%section.settings.issues-features{ style: ("display:none;" if @project.project_feature.send(:issues_access_level) == 0)}
%section.settings.issues-feature{ style: ("display:none;" if @project.project_feature.send(:issues_access_level) == 0) }
.settings-header
%h4
Issue settings
......
......@@ -20,7 +20,10 @@ feature 'Project edit', js: true do
it 'allows user to change request access settings' do
find('#project_request_access_enabled').set(true)
click_button 'Save changes'
page.within('.sharing-permissions') do
click_button 'Save changes'
end
wait_for_requests
expect(find('#project_request_access_enabled')).to be_checked
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment