3be32027b6
See https://gitlab.com/gitlab-org/gitlab-ce/issues/39118 Conflicts: app/views/ci/variables/_form.html.haml app/views/ci/variables/_table.html.haml ee/app/views/ci/variables/_environment_scope.html.haml spec/javascripts/ci_variable_list/ci_variable_list_ee_spec.js spec/javascripts/fixtures/projects.rb
17 lines
412 B
Ruby
17 lines
412 B
Ruby
require 'spec_helper'
|
|
|
|
feature 'Group variables', :js do
|
|
let(:user) { create(:user) }
|
|
let(:group) { create(:group) }
|
|
let!(:variable) { create(:ci_group_variable, key: 'test_key', value: 'test value', group: group) }
|
|
let(:page_path) { group_settings_ci_cd_path(group) }
|
|
|
|
background do
|
|
group.add_master(user)
|
|
gitlab_sign_in(user)
|
|
|
|
visit page_path
|
|
end
|
|
|
|
it_behaves_like 'variable list'
|
|
end
|