Browse Source

rm focus, change domain concerns order

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
dc7664505c
  1. 2
      app/models/domain.rb
  2. 2
      spec/models/domain_spec.rb

2
app/models/domain.rb

@ -51,7 +51,7 @@ class Domain < ActiveRecord::Base
a_records.build(:content => ip) if ip.present? a_records.build(:content => ip) if ip.present?
end 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) scope :host_domains, where(:name => Settings.host_domains)

2
spec/models/domain_spec.rb

@ -139,7 +139,7 @@ describe Domain do
ss.parent.should_not be_nil ss.parent.should_not be_nil
end end
it "recomputes parent", focus: true do it "recomputes parent" do
domain domain
subdomain subdomain
subsubdomain subsubdomain

Loading…
Cancel
Save