Sha256: 536b3fc4edc0c57b8b3657b370a016245f86c0b992404a7292bbbb501e97822b

Contents?: true

Size: 669 Bytes

Versions: 13

Compression:

Stored size: 669 Bytes

Contents

require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])

describe Feedzirra::Parser::GoogleDocsAtomEntry do
  describe 'parsing' do
    before do
      @feed = Feedzirra::Parser::GoogleDocsAtom.parse(sample_google_docs_list_feed)
      @entry = @feed.entries.first
    end

    it 'should have the custom checksum element' do
      @entry.checksum.should eql '2b01142f7481c7b056c4b410d28f33cf'
    end

    it 'should have the custom filename element' do
      @entry.original_filename.should eql "MyFile.pdf"
    end

    it 'should have the custom suggested filename element' do
      @entry.suggested_filename.should eql "TaxDocument.pdf"
    end
  end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
feedzirra-0.7.1 spec/feedzirra/parser/google_docs_atom_entry_spec.rb
feedzirra-0.7.0 spec/feedzirra/parser/google_docs_atom_entry_spec.rb
feedzirra-0.6.0 spec/feedzirra/parser/google_docs_atom_entry_spec.rb
feedzirra-0.5.0 spec/feedzirra/parser/google_docs_atom_entry_spec.rb
feedzirra-0.4.0 spec/feedzirra/parser/google_docs_atom_entry_spec.rb
feedzirra-0.3.0 spec/feedzirra/parser/google_docs_atom_entry_spec.rb
feedzirra-0.2.2 spec/feedzirra/parser/google_docs_atom_entry_spec.rb
feedzirra-0.2.1 spec/feedzirra/parser/google_docs_atom_entry_spec.rb
codders-feedzirra-0.2.0.rc2 spec/feedzirra/parser/google_docs_atom_entry_spec.rb
feedzirra-0.2.0.rc2 spec/feedzirra/parser/google_docs_atom_entry_spec.rb
feedzirra-0.2.0.rc1 spec/feedzirra/parser/google_docs_atom_entry_spec.rb
jashmenn-feedzirra-0.1.3 spec/feedzirra/parser/google_docs_atom_entry_spec.rb
feedzirra-0.1.3 spec/feedzirra/parser/google_docs_atom_entry_spec.rb