From dc7664505c9bf5ef18d013e2948566597044d0a5 Mon Sep 17 00:00:00 2001 From: Nicolae Claudius Date: Mon, 25 Jun 2012 09:41:59 +0300 Subject: [PATCH] rm focus, change domain concerns order --- app/models/domain.rb | 2 +- spec/models/domain_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/domain.rb b/app/models/domain.rb index d0257b4..d98796d 100644 --- a/app/models/domain.rb +++ b/app/models/domain.rb @@ -51,7 +51,7 @@ class Domain < ActiveRecord::Base a_records.build(:content => ip) if ip.present? end - concerned_with :name_change_records, :name_change_subdomains, :tree_structure + concerned_with :tree_structure, :name_change_subdomains, :name_change_records scope :host_domains, where(:name => Settings.host_domains) diff --git a/spec/models/domain_spec.rb b/spec/models/domain_spec.rb index fb431fc..c9f9cc6 100644 --- a/spec/models/domain_spec.rb +++ b/spec/models/domain_spec.rb @@ -139,7 +139,7 @@ describe Domain do ss.parent.should_not be_nil end - it "recomputes parent", focus: true do + it "recomputes parent" do domain subdomain subsubdomain