Sha256: c462e35d14e2b40b52323d0e9a9de2e417c9e60c6b8235ac501f0c5b7f8aa0ca

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

require 'hentry_consumer'

describe HentryConsumer::HEntry do
  let(:result) { HentryConsumer.parse(File.open("spec/support/example.html")) }
  let(:entry) { result.entries.first }
  subject { entry.author }
  
  its(:name)  { should eq "Jessica Suttles"}
  its(:email) { should eq "jessica.suttles@getg5.com"}
  its(:url)   { should eq "http//g5.com/authors/jessica-suttles"}
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hentry_consumer-0.1.2 spec/lib/hentry_consumer/h_card_spec.rb
hentry_consumer-0.1.1 spec/lib/hentry_consumer/h_card_spec.rb
hentry_consumer-0.1.0 spec/lib/hentry_consumer/h_card_spec.rb