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