From 6cc15cf721d9e52868c6f4e55b64b4cc4c18aba2 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Tue, 15 Sep 2015 21:23:45 +0200 Subject: [PATCH] Fix: features/ci/triggers_spec.rb --- spec/features/ci/variables_spec.rb | 6 ++++-- 1 file 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