debian-mirror-gitlab/spec/features/group_variables_spec.rb

18 lines
412 B
Ruby
Raw Normal View History

2017-09-10 17:25:29 +05:30
require 'spec_helper'
2018-03-17 18:26:18 +05:30
feature 'Group variables', :js do
2017-09-10 17:25:29 +05:30
let(:user) { create(:user) }
let(:group) { create(:group) }
2018-03-17 18:26:18 +05:30
let!(:variable) { create(:ci_group_variable, key: 'test_key', value: 'test value', group: group) }
let(:page_path) { group_settings_ci_cd_path(group) }
2017-09-10 17:25:29 +05:30
background do
group.add_master(user)
gitlab_sign_in(user)
2018-03-17 18:26:18 +05:30
visit page_path
2017-09-10 17:25:29 +05:30
end
2018-03-17 18:26:18 +05:30
it_behaves_like 'variable list'
2017-09-10 17:25:29 +05:30
end