Sha256: 756331f48a307334e642f0bf75a64a8b45c5a3998b2010677b630d377f050049

Contents?: true

Size: 706 Bytes

Versions: 1

Compression:

Stored size: 706 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', '..', 'spec_helper')

describe Yad::Web::Apache do

  it "should build the start command with an alternate apache command" do
    cmd = Yad::Web::Apache.build_start_command(:apache_command => 'apache2ctl')
    cmd.should eql("apache2ctl start")
  end

  it "should build the start command" do
    cmd = Yad::Web::Apache.build_start_command
    cmd.should eql("apachectl start")
  end

  it "should build the restart command" do
    cmd = Yad::Web::Apache.build_restart_command
    cmd.should eql("apachectl restart")
  end

  it "should build the stop command" do
    cmd = Yad::Web::Apache.build_stop_command
    cmd.should eql("apachectl stop")
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yad-0.0.4 spec/yad/web/apache_spec.rb