summaryrefslogtreecommitdiff
path: root/spec/frontend/fixtures/pipelines.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/fixtures/pipelines.rb')
-rw-r--r--spec/frontend/fixtures/pipelines.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/frontend/fixtures/pipelines.rb b/spec/frontend/fixtures/pipelines.rb
index 93e2c19fc27..4270e38afcb 100644
--- a/spec/frontend/fixtures/pipelines.rb
+++ b/spec/frontend/fixtures/pipelines.rb
@@ -5,7 +5,6 @@ require 'spec_helper'
RSpec.describe Projects::PipelinesController, '(JavaScript fixtures)', type: :controller do
include JavaScriptFixturesHelpers
- let(:admin) { create(:admin) }
let(:namespace) { create(:namespace, name: 'frontend-fixtures' )}
let(:project) { create(:project, :repository, namespace: namespace, path: 'pipelines-project') }
let(:commit) { create(:commit, project: project) }
@@ -22,7 +21,7 @@ RSpec.describe Projects::PipelinesController, '(JavaScript fixtures)', type: :co
end
before do
- sign_in(admin)
+ sign_in(user)
end
it 'pipelines/pipelines.json' do