require 'rails_helper' require_relative '../shared/phone' RSpec.describe 'EPP contact:create' do let(:request) { post '/epp/command/create', frame: request_xml } let(:request_xml) { <<-XML test #{phone} test@test.com 123456 XML } before do sign_in_to_epp_area allow(Contact).to receive(:address_processing?).and_return(false) end include_examples 'EPP contact phone' end