Sha256: 4ab41dda56ca0e8fa00a72eb1f08d45021ebce2e461f91b5a87aa528f12ac910

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'
require File.dirname(__FILE__) + '/atomic_spec_helper'

describe Atomic::Atom::Feed do

  include AtomicSpecHelper

  describe "#new" do

  end

  describe "#parse" do
    before(:each) do
      @xml = File.read(File.join(File.dirname(__FILE__), '..', 'fixtures', 'valid_atom_feed.xml'))
      @feed = Atomic::Atom::Feed.parse(@xml)
    end
    it "should work" do

    end
  end

  describe "#to_hash" do

  end

  describe "#to_xml" do
    before(:each) do
      @feed = Atomic::Atom::Feed.new(valid_feed_attributes)
    end

    it "should work" do
      puts @feed.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/feed_spec.rb