Sha256: aecffe6febb9cdd954f2f0c340ff47fb45f451def4d2b0f26e1526a05719ea2a

Contents?: true

Size: 425 Bytes

Versions: 1

Compression:

Stored size: 425 Bytes

Contents

require "spec_helper"
require "spec_helpers/mock_ncode_data_helper"
require "tempfile"

describe NcodeSyosetu::Builder::Epub3 do
  include_context "with mock ncode data"

  let(:ncode) { "n00000" }
  let(:novel) { NcodeSyosetu.client.get(ncode) }

  describe ".write" do
    it "writes epub3" do
      Tempfile.open("epub3") do |file|
        NcodeSyosetu::Builder::Epub3.write(novel, file.path)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ncode-syosetu-0.0.1 spec/ncode_syosetu/builder/epub3_spec.rb