Update specs
This commit is contained in:
parent
5c209d91c2
commit
93e204ea52
1 changed files with 6 additions and 1 deletions
|
@ -53,7 +53,6 @@ feature "New project", feature: true do
|
|||
click_button('Create project')
|
||||
|
||||
expect(page).to have_css '.project-edit-errors .alert.alert-danger'
|
||||
expect(find("[name='project[visibility_level]'][checked].option-title").value).to eq('Internal')
|
||||
end
|
||||
|
||||
it "selects the group namespace" do
|
||||
|
@ -61,6 +60,12 @@ feature "New project", feature: true do
|
|||
|
||||
expect(namespace.text).to eq group.name
|
||||
end
|
||||
|
||||
it 'selects the visibility level' do
|
||||
level = Gitlab::VisibilityLevel.options['Internal']
|
||||
|
||||
expect(find_field("project_visibility_level_#{level}")).to be_checked
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue