summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-15 21:23:45 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-15 21:23:45 +0200
commit6cc15cf721d9e52868c6f4e55b64b4cc4c18aba2 (patch)
treefe37c6ace5c6d4c544374d937c05f9fb0d105867 /spec
parent64ef1b3dcdd2cfb37da26da55f265b7c24dac04a (diff)
downloadgitlab-ce-6cc15cf721d9e52868c6f4e55b64b4cc4c18aba2.tar.gz
Fix: features/ci/triggers_spec.rb
Diffstat (limited to 'spec')
-rw-r--r--spec/features/ci/variables_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/features/ci/variables_spec.rb b/spec/features/ci/variables_spec.rb
index 84d6bfa0f32..e387b3be555 100644
--- a/spec/features/ci/variables_spec.rb
+++ b/spec/features/ci/variables_spec.rb
@@ -1,14 +1,16 @@
require 'spec_helper'
describe "Variables" do
+ let(:user) { create(:user) }
+
before do
- login_as :user
+ login_as(user)
end
describe "specific runners" do
before do
@project = FactoryGirl.create :ci_project
- stub_js_gitlab_calls
+ @project.gl_project.team << [user, :master]
end
it "creates variable", js: true do