Welcome to mirror list, hosted at ThFree Co, Russian Federation.

root_spec.rb « dashboard « features « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 55bb43c6fcf18d456940b2636f22369d85cdca15 (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 'Root path' do
  let_it_be(:user) { create(:user) }
  let_it_be(:project) { create(:project) }

  before do
    project.add_developer(user)
    sign_in(user)
  end

  it 'shows the customize banner', :js do
    visit root_path

    expect(page).to have_content('Do you want to customize this page?')
  end
end