Sha256: 7b408bf3b00aea629871c170e34579d0bd51e5e138da0041b9a5dd96e143b566

Contents?: true

Size: 402 Bytes

Versions: 6

Compression:

Stored size: 402 Bytes

Contents

require "spec_helper"

describe VraptorScaffold::Runner::CommandsHelp do

  it "should print commands help" do
    Kernel.should_receive(:puts).with("Available runners for vraptor are: #{VraptorScaffold::COMMANDS.keys.join(', ')}")
    Kernel.should_receive(:puts).with("Usage:")
    Kernel.should_receive(:puts).with("  vraptor runner")
    VraptorScaffold::Runner::CommandsHelp.new.run('')
  end

end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
heroku-vraptor-scaffold-0.9.0 spec/vraptor-scaffold/runner/commands_help_spec.rb
vraptor-scaffold-1.3.0 spec/vraptor-scaffold/runner/commands_help_spec.rb
vraptor-scaffold-1.3.0.rc spec/vraptor-scaffold/runner/commands_help_spec.rb
vraptor-scaffold-1.2.3 spec/vraptor-scaffold/runner/commands_help_spec.rb
vraptor-scaffold-1.2.1 spec/vraptor-scaffold/runner/commands_help_spec.rb
vraptor-scaffold-1.2.0 spec/vraptor-scaffold/runner/commands_help_spec.rb