Sha256: 7fd4e8b1ed16b3fee08ad179fe58e5f3b7d919850678edad3ddf88e24f87f884

Contents?: true

Size: 323 Bytes

Versions: 5

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

describe Kitabu::Cli do
  context "while running permalinks" do
    it "recognizes command" do
      Dir.chdir SPECDIR.join("support/mybook")

      expect do
        capture(:stdout) { Kitabu::Cli.start(["permalinks"]) }
      end.to_not raise_error
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kitabu-3.1.0 spec/kitabu/cli/permalinks_spec.rb
kitabu-3.0.3 spec/kitabu/cli/permalinks_spec.rb
kitabu-3.0.2 spec/kitabu/cli/permalinks_spec.rb
kitabu-3.0.1 spec/kitabu/cli/permalinks_spec.rb
kitabu-3.0.0 spec/kitabu/cli/permalinks_spec.rb