Sha256: 72eba647eb634b95a5d578da01f240c00c821d5e098ccdbc92c5614dd956905d

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

require "spec_helper"

describe SpringMvcScaffold::Runner::CommandsHelp do

  it "should print commands help" do
    expect(Kernel).to receive(:puts).with("Available runners for springmvc are: #{SpringMvcScaffold::COMMANDS.keys.join(', ')}")
    expect(Kernel).to receive(:puts).with("Usage:")
    expect(Kernel).to receive(:puts).with("  springmvc runner")

    described_class.new.run('')
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
springmvc-scaffold-1.0.1 spec/springmvc-scaffold/runner/commands_help_spec.rb