Sha256: 46b04ea867d226c6a659b51be45b073f1d2b9cec63dd855b9e04a4c9b62f2b74

Contents?: true

Size: 464 Bytes

Versions: 15

Compression:

Stored size: 464 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe Actions::ShowConfig do
  context '#initialize' do
    it 'has no special requirements' do
      expect {
        Actions::ShowConfig.new
      }.not_to raise_error
    end
  end

  context '#run' do
    it 'gathers all relevant information and prints them to stdout' do
      result = capture(:stdout) do
        Actions::ShowConfig.new.run
      end

      expect(result).to include('pid_file')
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
local_pac-0.10.2 spec/actions/show_config_spec.rb
local_pac-0.10.1 spec/actions/show_config_spec.rb
local_pac-0.10.0 spec/actions/show_config_spec.rb
local_pac-0.9.0 spec/actions/show_config_spec.rb
local_pac-0.7.0 spec/actions/show_config_spec.rb
local_pac-0.6.3 spec/actions/show_config_spec.rb
local_pac-0.6.2 spec/actions/show_config_spec.rb
local_pac-0.6.1 spec/actions/show_config_spec.rb
local_pac-0.5.0 spec/actions/show_config_spec.rb
local_pac-0.4.0 spec/actions/show_config_spec.rb
local_pac-0.3.0 spec/actions/show_config_spec.rb
local_pac-0.2.3 spec/actions/show_config_spec.rb
local_pac-0.2.2 spec/actions/show_config_spec.rb
local_pac-0.2.1 spec/actions/show_config_spec.rb
local_pac-0.2.0 spec/actions/show_config_spec.rb