Sha256: 7d9ddb89ef417328c8d7fcd97e43556bc1b8676265a0dc6da52b39b5e6f30725
Contents?: true
Size: 794 Bytes
Versions: 4
Compression:
Stored size: 794 Bytes
Contents
# encoding: utf-8 # This file is autogenerated. Do not edit it manually. # If you want change the content of this file, edit # # /spec/fixtures/responses/whois.nic.ve/property_updated_on.expected # # and regenerate the tests with the following rake task # # $ rake genspec:parsers # require 'spec_helper' require 'whois/record/parser/whois.nic.ve.rb' describe Whois::Record::Parser::WhoisNicVe, "property_updated_on.expected" do before(:each) do file = fixture("responses", "whois.nic.ve/property_updated_on.txt") part = Whois::Record::Part.new(:body => File.read(file)) @parser = klass.new(part) end describe "#updated_on" do it do @parser.updated_on.should be_a(Time) @parser.updated_on.should == Time.parse("2005-11-17 21:16:31") end end end
Version data entries
4 entries across 4 versions & 1 rubygems