Sha256: 69fe385b3509c50135de60352105dfc6daf78f7d265e7cce3e8bce1028a3e996

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

require 'spec_helper'

describe EPUBInfo do
  let(:epub_path) { File.expand_path('spec/support/binary/metamorphosis_epub2.epub') }

  describe '#get' do
    it 'calls parser' do
      EPUBInfo::Parser.should_receive(:parse)
      EPUBInfo.get(epub_path)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
epubinfo-0.2.0 spec/lib/epubinfo_spec.rb