Sha256: 3812f1d27f9b5f4212846c13a0d0a094b8f451f2ac71995377edeb70bf7a68c9

Contents?: true

Size: 341 Bytes

Versions: 4

Compression:

Stored size: 341 Bytes

Contents

require 'spec_helper'

describe Rpub::Epub::Container do
  let(:subject) { described_class.new.render }
  it { should have_xpath('/xmlns:container') }
  it { should have_xpath('/xmlns:container[@version="1.0"]') }
  it { should have_xpath('/xmlns:container/xmlns:rootfiles/xmlns:rootfile[@media-type="application/oebps-package+xml"]') }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rpub-0.4.0 spec/rpub/epub/container_spec.rb
rpub-0.3.0 spec/rpub/epub/container_spec.rb
rpub-0.2.1 spec/rpub/epub/container_spec.rb
rpub-0.2.0 spec/rpub/epub/container_spec.rb