Sha256: 586517584f8f946777dc7a6c9717e527a5b2f68590e1e610273c78c79604c837

Contents?: true

Size: 288 Bytes

Versions: 9

Compression:

Stored size: 288 Bytes

Contents

require "spec_helper"

describe Kitabu::Cli do
  context "while running permalinks" do
    it "recognizes command" do
      Dir.chdir SPECDIR.join("support/mybook")
      expect {
        capture(:stdout) { Kitabu::Cli.start(["permalinks"]) }
      }.to_not raise_error
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kitabu-1.0.5 spec/kitabu/cli/permalinks_spec.rb
kitabu-1.0.4 spec/kitabu/cli/permalinks_spec.rb
kitabu-1.0.3 spec/kitabu/cli/permalinks_spec.rb
kitabu-1.0.2 spec/kitabu/cli/permalinks_spec.rb
kitabu-1.0.1 spec/kitabu/cli/permalinks_spec.rb
kitabu-1.0.0 spec/kitabu/cli/permalinks_spec.rb
kitabu-1.0.0.rc4 spec/kitabu/cli/permalinks_spec.rb
kitabu-1.0.0.rc3 spec/kitabu/cli/permalinks_spec.rb
kitabu-1.0.0.rc2 spec/kitabu/cli/permalinks_spec.rb