Sha256: 226adbf11b2a53354a5a993bd140a99162598cba91893efeb0bf0cfc0525cbb9

Contents?: true

Size: 424 Bytes

Versions: 6

Compression:

Stored size: 424 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

6 entries across 6 versions & 1 rubygems

Version Path
ncode-syosetu-0.0.7 spec/ncode_syosetu/builder/epub3_spec.rb
ncode-syosetu-0.0.6 spec/ncode_syosetu/builder/epub3_spec.rb
ncode-syosetu-0.0.5 spec/ncode_syosetu/builder/epub3_spec.rb
ncode-syosetu-0.0.4 spec/ncode_syosetu/builder/epub3_spec.rb
ncode-syosetu-0.0.3 spec/ncode_syosetu/builder/epub3_spec.rb
ncode-syosetu-0.0.2 spec/ncode_syosetu/builder/epub3_spec.rb