summaryrefslogtreecommitdiff
path: root/spec/features/dashboard/root_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/dashboard/root_spec.rb')
-rw-r--r--spec/features/dashboard/root_spec.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/features/dashboard/root_spec.rb b/spec/features/dashboard/root_spec.rb
new file mode 100644
index 00000000000..55bb43c6fcf
--- /dev/null
+++ b/spec/features/dashboard/root_spec.rb
@@ -0,0 +1,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