Sha256: bca4d15b0153fc4c2fe13a39c7b08aad40b83c6eb288cdbe6ae2441774a10bae
Contents?: true
Size: 490 Bytes
Versions: 33
Compression:
Stored size: 490 Bytes
Contents
require "pact_broker/client/cli/broker" RSpec.describe "the README" do NOT_DOCUMENTED = ["version"] COMMANDS = PactBroker::Client::CLI::Broker .commands .values .collect(&:usage).collect { | usage | usage.split(" ").first } - NOT_DOCUMENTED README = File.read("README.md") COMMANDS.each do | command | it "includes the documentation for #{command}" do expect(README.include?("\n#### " + command)).to be_truthy end end end
Version data entries
33 entries across 33 versions & 1 rubygems