Sha256: 4631b861bc3fcc25769e46ac9edbb2056dd373f4d8ee8f194d7dc1c5d5db9f44

Contents?: true

Size: 255 Bytes

Versions: 107

Compression:

Stored size: 255 Bytes

Contents

shared_examples_for "a command with a UI object" do

  subject(:command) { described_class.new }

  it "configures a default UI component" do
    ui = command.ui
    expect(ui.out_stream).to eq($stdout)
    expect(ui.err_stream).to eq($stderr)
  end

end

Version data entries

107 entries across 107 versions & 2 rubygems

Version Path
chef-cli-5.6.16 spec/shared/command_with_ui_object.rb
chef-cli-5.6.14 spec/shared/command_with_ui_object.rb
chef-cli-5.6.13 spec/shared/command_with_ui_object.rb
chef-cli-5.6.12 spec/shared/command_with_ui_object.rb
chef-cli-5.6.11 spec/shared/command_with_ui_object.rb
chef-cli-5.6.8 spec/shared/command_with_ui_object.rb
chef-cli-5.6.1 spec/shared/command_with_ui_object.rb
chef-cli-5.6.0 spec/shared/command_with_ui_object.rb
chef-cli-5.5.6 spec/shared/command_with_ui_object.rb
chef-cli-5.5.5 spec/shared/command_with_ui_object.rb
chef-cli-5.5.4 spec/shared/command_with_ui_object.rb
chef-cli-5.5.0 spec/shared/command_with_ui_object.rb
chef-cli-5.4.2 spec/shared/command_with_ui_object.rb
chef-cli-5.4.1 spec/shared/command_with_ui_object.rb
chef-cli-5.3.1 spec/shared/command_with_ui_object.rb
chef-cli-5.3.0 spec/shared/command_with_ui_object.rb
chef-cli-5.2.0 spec/shared/command_with_ui_object.rb
chef-cli-5.1.0 spec/shared/command_with_ui_object.rb
chef-cli-5.0.1 spec/shared/command_with_ui_object.rb
chef-cli-4.0.1 spec/shared/command_with_ui_object.rb