Sha256: bed564cd416b96b2f7cca80cfcfaec29a4addc360f4f526cde61bc6878bbc17a

Contents?: true

Size: 523 Bytes

Versions: 10

Compression:

Stored size: 523 Bytes

Contents

require_relative '../helper'
require 'author/commands/check'

describe Author::Commands::Check do
  
  let(:output) { capture { Author::Commands::Check.start } }
  
  it "should check to see if Prince XML is installed" do
    expect(output).to_include "Checking for Prince"
    expect(output).to_match /^Prince is( not)? installed/
  end
  
  it "should check to see if KindleGen is installed" do
    expect(output).to_include "Checking for KindleGen"
    expect(output).to_match /^KindleGen is( not)? installed/
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
author-1.2.0.alpha test/commands/check_test.rb
author-1.1.6.alpha test/commands/check_test.rb
author-1.1.5.alpha test/commands/check_test.rb
author-1.1.4.alpha test/commands/check_test.rb
author-1.1.3.alpha test/commands/check_test.rb
author-1.1.2.alpha test/commands/check_test.rb
author-1.1.1.alpha test/commands/check_test.rb
author-1.1.0.alpha test/commands/check_test.rb
author-1.0.1.alpha test/commands/check_test.rb
author-1.0.0.alpha test/commands/check_test.rb