Browse Source

rm focus, change domain concerns order

pull/1/head
Nicolae Claudius 12 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?
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)

2
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

Loading…
Cancel
Save