diff options
Diffstat (limited to 'spec/features/ci/triggers_spec.rb')
-rw-r--r-- | spec/features/ci/triggers_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/features/ci/triggers_spec.rb b/spec/features/ci/triggers_spec.rb index c65bea9dbcf..c6afeb74628 100644 --- a/spec/features/ci/triggers_spec.rb +++ b/spec/features/ci/triggers_spec.rb @@ -1,10 +1,12 @@ require 'spec_helper' describe 'Triggers' do + let(:user) { create(:user) } + before do - login_as :user + login_as(user) @project = FactoryGirl.create :ci_project - stub_js_gitlab_calls + @project.gl_project.team << [user, :master] visit ci_project_triggers_path(@project) end |