internetee-registry/spec/support/general.rb
Priit Tamboom c1f5d0ec00 fixed spec
2014-10-20 11:01:26 +03:00

19 lines
403 B
Ruby

module General
def create_settings
Setting.ds_algorithm = 2
Setting.ds_data_allowed = true
Setting.ds_data_with_key_allowed = true
Setting.key_data_allowed = true
Setting.dnskeys_min_count = 0
Setting.dnskeys_max_count = 9
Setting.ns_min_count = 2
Setting.ns_max_count = 11
Setting.transfer_wait_time = 0
end
end
RSpec.configure do |c|
c.include General
end