From 2648f66e78c1eefc012e2266a9228b74c4d36cc0 Mon Sep 17 00:00:00 2001 From: Oleg Hasjanov Date: Thu, 28 Jan 2021 14:09:07 +0200 Subject: [PATCH] made refactoring: remove paddings and line breaks --- .../epp/domain/create/base_test.rb | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/test/integration/epp/domain/create/base_test.rb b/test/integration/epp/domain/create/base_test.rb index cbbd8a57d..9f974ebf8 100644 --- a/test/integration/epp/domain/create/base_test.rb +++ b/test/integration/epp/domain/create/base_test.rb @@ -104,9 +104,9 @@ class EppDomainCreateBaseTest < EppTestCase XML - assert_difference 'Domain.count' do - post epp_create_path, params: { frame: request_xml }, - headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } + assert_difference 'Domain.count' do + post epp_create_path, params: { frame: request_xml }, + headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } end assert_epp_response :completed_successfully end @@ -181,9 +181,9 @@ class EppDomainCreateBaseTest < EppTestCase - assert_no_difference 'Domain.count' do - post epp_create_path, params: { frame: request_xml }, - headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } + assert_no_difference 'Domain.count' do + post epp_create_path, params: { frame: request_xml }, + headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } end assert_epp_response :parameter_value_policy_error @@ -218,12 +218,12 @@ class EppDomainCreateBaseTest < EppTestCase XML - assert_no_difference 'Domain.count' do - post epp_create_path, params: { frame: request_xml }, - headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } + assert_no_difference 'Domain.count' do + post epp_create_path, params: { frame: request_xml }, + headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } end - assert_epp_response :parameter_value_policy_error + assert_epp_response :parameter_value_policy_error end def test_create_domain_with_array_of_not_unique_admin_but_tech_another_one @@ -254,14 +254,14 @@ class EppDomainCreateBaseTest < EppTestCase - XML + XML - assert_no_difference 'Domain.count' do - post epp_create_path, params: { frame: request_xml }, - headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } - end + assert_no_difference 'Domain.count' do + post epp_create_path, params: { frame: request_xml }, + headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } + end - assert_epp_response :parameter_value_policy_error + assert_epp_response :parameter_value_policy_error end def test_create_domain_with_array_of_not_unique_techs_but_admin_another_one @@ -292,14 +292,14 @@ class EppDomainCreateBaseTest < EppTestCase - XML + XML - assert_no_difference 'Domain.count' do - post epp_create_path, params: { frame: request_xml }, - headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } - end + assert_no_difference 'Domain.count' do + post epp_create_path, params: { frame: request_xml }, + headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } + end - assert_epp_response :parameter_value_policy_error + assert_epp_response :parameter_value_policy_error end def test_registers_new_domain_with_required_attributes