Commit 93e204ea authored by blackst0ne's avatar blackst0ne

Update specs

parent 5c209d91
......@@ -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
......
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