Sha256: 8d8bdad651b500fc6c9021304ad99dbb35722d3293b26d3460dfaa0781aafbd2
Contents?: true
Size: 657 Bytes
Versions: 1
Compression:
Stored size: 657 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' require File.dirname(__FILE__) + '/atomic_spec_helper' describe Atomic::Atompub::Service do include AtomicSpecHelper describe "#new" do end describe "#parse" do it "should work" do xml = File.read(File.join(File.dirname(__FILE__), '..', 'fixtures', 'valid_atom_service.xml')) @service = Atomic::Atompub::Service.parse(xml) end end describe "#to_hash" do end describe "#to_xml" do before(:each) do @service = Atomic::Atompub::Service.new(valid_service_attributes) end it "should work" do puts @service.to_xml(true) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
exempla-atomic-0.0.12 | spec/atomic/service_spec.rb |