diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-15 21:22:51 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-15 21:22:51 +0200 |
commit | 64ef1b3dcdd2cfb37da26da55f265b7c24dac04a (patch) | |
tree | 47b629318bc16e55f4ad1bebea37154138c09cc1 /spec | |
parent | 5285e01d54cff68db99aaa4b15a87d8d4c0333ab (diff) | |
download | gitlab-ce-64ef1b3dcdd2cfb37da26da55f265b7c24dac04a.tar.gz |
Fix: features/ci/triggers_spec.rb
Diffstat (limited to 'spec')
-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 |