Sha256: c8becf2508a61ada91842c84a8217f0442222eb4b301d72df93fccf78844154f

Contents?: true

Size: 421 Bytes

Versions: 6

Compression:

Stored size: 421 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 mobi" do
      Tempfile.open("mobi") do |file|
        NcodeSyosetu::Builder::Mobi.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/mobi_spec.rb
ncode-syosetu-0.0.6 spec/ncode_syosetu/builder/mobi_spec.rb
ncode-syosetu-0.0.5 spec/ncode_syosetu/builder/mobi_spec.rb
ncode-syosetu-0.0.4 spec/ncode_syosetu/builder/mobi_spec.rb
ncode-syosetu-0.0.3 spec/ncode_syosetu/builder/mobi_spec.rb
ncode-syosetu-0.0.2 spec/ncode_syosetu/builder/mobi_spec.rb