debian-mirror-gitlab/spec/features/dashboard/root_spec.rb
2021-09-30 23:02:18 +05:30

19 lines
379 B
Ruby

# 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