From a40e1e6178f2a7114757add20b33c683bfa354d3 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 10 Sep 2015 14:54:05 +0300 Subject: [PATCH] Rubocop updates --- app/models/epp/domain.rb | 1 - spec/epp/domain_spec.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb index 7d6e2eab0..03433e9c2 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -512,7 +512,6 @@ class Epp::Domain < Domain ### TRANSFER ### - # rubocop: disable Metrics/PerceivedComplexity # rubocop: disable Metrics/CyclomaticComplexity def transfer(frame, action, current_user) case action diff --git a/spec/epp/domain_spec.rb b/spec/epp/domain_spec.rb index 24cff2356..771d87b63 100644 --- a/spec/epp/domain_spec.rb +++ b/spec/epp/domain_spec.rb @@ -1466,7 +1466,6 @@ describe 'EPP Domain', epp: true do # must generate new code domain.registrant.code.should_not == original_oc_code - domain.contacts.each do |c| c.registrar_id.should == @registrar2.id original_contact_codes.include?(c.code).should_not == true