You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
358 B

13 years ago
shared_context "data" do
let(:user){create(:user)}
13 years ago
let(:domain){
domain = build(:domain, :user => user)
13 years ago
domain.setup(FactoryGirl.generate(:email))
domain.save!
domain.soa_record.update_serial!
domain
}
let(:a_record){create(:a, :content => '127.0.0.1', :domain => domain)}
13 years ago
let(:soa_record){domain.soa_record}
13 years ago
end