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.
16 lines
327 B
16 lines
327 B
13 years ago
|
shared_context "data" do
|
||
|
|
||
|
let(:user){Factory(:user)}
|
||
|
|
||
|
let(:domain){
|
||
|
domain = Factory.build(:domain, :user => user)
|
||
|
domain.setup(FactoryGirl.generate(:email))
|
||
|
domain.save!
|
||
|
domain.soa_record.update_serial!
|
||
|
domain
|
||
|
}
|
||
|
|
||
|
let(:a_record){Factory(:a, :content => '127.0.0.1', :domain => domain)}
|
||
|
|
||
|
end
|