add base feature specs

This commit is contained in:
Alex Turchyn committed 2023-08-20 15:15:48 +03:00
1 parent 6b4e7c2264
commit cbc6f4497a
32 files changed
+1134 -12

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe 'Personalization' do
let!(:account) { create(:account) }
let!(:user) { create(:user, account:) }
before do
sign_in(user)
visit settings_personalization_path
end
it 'shows the personalization page' do
expect(page).to have_content('Email Templates')
expect(page).to have_content('Signature Request Email')
expect(page).to have_content('Form Completed Email')
expect(page).to have_content('Documents Copy Email')
expect(page).to have_content('Company Logo')
expect(page).to have_content('Unlock with DocuSeal Enterprise')
expect(page).to have_content('Display your company name and logo when signing documents')
end
end