summaryrefslogtreecommitdiff
path: root/spec/features/projects/ci/secure_files_spec.rb
blob: 65c41eaf2ac3e692c6972e78683759cc7ee59f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe 'Secure Files', :js do
  let(:project) { create(:project) }
  let(:user) { create(:user) }

  before do
    project.add_maintainer(user)
    sign_in(user)

    visit project_ci_secure_files_path(project)
  end

  it 'user sees the Secure Files list component' do
    expect(page).to have_content('There are no records to show')
  end
end