Sha256: 88bb76d0d68d5507063fbc35bc1a6a628d73c3bbac3e6a26bb2366b0711625aa
Contents?: true
Size: 658 Bytes
Versions: 5
Compression:
Stored size: 658 Bytes
Contents
$hello_doc = <<EOF Say hello to the user whose name is requested on the standard input SYNOPSIS mini-client say:hello DESCRIPTION And an explanation here on multiple lines with replacement: hello EOF require "spec_helper" describe "Quickl#documentation" do subject{ Quickl.documentation(cmd) } describe "on a command class" do let(:cmd){ MiniClient::Say::Hello } it{ should eq($hello_doc) } end describe "on a command instance" do let(:cmd){ MiniClient::Say::Hello.new } it{ should eq($hello_doc) } end it "should be aliased as help" do Quickl.help(MiniClient::Say::Hello).should eq($hello_doc) end end
Version data entries
5 entries across 5 versions & 1 rubygems