summaryrefslogtreecommitdiff
path: root/spec/features/ci
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/ci')
-rw-r--r--spec/features/ci/variables_spec.rb28
1 files changed, 0 insertions, 28 deletions
diff --git a/spec/features/ci/variables_spec.rb b/spec/features/ci/variables_spec.rb
deleted file mode 100644
index e387b3be555..00000000000
--- a/spec/features/ci/variables_spec.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-require 'spec_helper'
-
-describe "Variables" do
- let(:user) { create(:user) }
-
- before do
- login_as(user)
- end
-
- describe "specific runners" do
- before do
- @project = FactoryGirl.create :ci_project
- @project.gl_project.team << [user, :master]
- end
-
- it "creates variable", js: true do
- visit ci_project_variables_path(@project)
- click_on "Add a variable"
- fill_in "Key", with: "SECRET_KEY"
- fill_in "Value", with: "SECRET_VALUE"
- click_on "Save changes"
-
- expect(page).to have_content("Variables were successfully updated.")
- expect(@project.variables.count).to eq(1)
- end
-
- end
-end