spec/whm/server_spec.rb in lumberg-2.0.0.pre18 vs spec/whm/server_spec.rb in lumberg-2.0.0.pre20

- old
+ new

@@ -370,7 +370,17 @@ it 'gets remote server disk usage' do result = @whm.disk_usage result[:success].should be_true end end + + describe '#lookup_nameserver_ip' do + use_vcr_cassette 'whm/server/lookup_nameserver_ip' + + it 'performs a NS lookup for the given host name' do + result = @whm.lookup_nameserver_ip(host: 'site5.com') + + result[:params][:ip].should =~ Resolv::IPv4::Regex + end + end end end