spec/async/dns/replace_spec.rb in async-dns-0.10.0 vs spec/async/dns/replace_spec.rb in async-dns-0.12.0
- old
+ new
@@ -23,10 +23,10 @@
require 'async/dns'
require 'async/dns/replace'
module Async::DNS::ReplaceSpec
describe Async::DNS::Replace do
- include_context "reactor"
+ include_context Async::RSpec::Reactor
let(:default_resolver) {Async::DNS::Resolver.new([[:udp, "8.8.8.8", 53], [:tcp, "8.8.8.8", 53]])}
after(:all) do
Async::DNS::Replace.resolver = nil