require 'rails_helper' require_relative '../../users/notifications/shared_examples' require 'support/pages/my/notifications' describe "My notifications settings", type: :feature, js: true do current_user { FactoryBot.create :user } let(:settings_page) { Pages::My::Notifications.new(current_user) } before do settings_page.visit! end it_behaves_like 'notification settings workflow' do let(:user) { current_user } end end