summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-15 21:22:51 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-15 21:22:51 +0200
commit64ef1b3dcdd2cfb37da26da55f265b7c24dac04a (patch)
tree47b629318bc16e55f4ad1bebea37154138c09cc1 /spec
parent5285e01d54cff68db99aaa4b15a87d8d4c0333ab (diff)
downloadgitlab-ce-64ef1b3dcdd2cfb37da26da55f265b7c24dac04a.tar.gz
Fix: features/ci/triggers_spec.rb
Diffstat (limited to 'spec')
-rw-r--r--spec/features/ci/triggers_spec.rb6
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