Sha256: e2878b1c337bc600b421cf2a1b1eab86104797a573eaee0528b91361046f3a38

Contents?: true

Size: 266 Bytes

Versions: 19

Compression:

Stored size: 266 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

19 entries across 19 versions & 1 rubygems

Version Path
chef-dk-3.9.0 spec/shared/command_with_ui_object.rb
chef-dk-3.8.14 spec/shared/command_with_ui_object.rb
chef-dk-3.7.23 spec/shared/command_with_ui_object.rb
chef-dk-3.6.57 spec/shared/command_with_ui_object.rb
chef-dk-3.5.13 spec/shared/command_with_ui_object.rb
chef-dk-2.6.2 spec/shared/command_with_ui_object.rb
chef-dk-3.4.38 spec/shared/command_with_ui_object.rb
chef-dk-2.6.1 spec/shared/command_with_ui_object.rb
chef-dk-3.3.23 spec/shared/command_with_ui_object.rb
chef-dk-3.2.30 spec/shared/command_with_ui_object.rb
chef-dk-2.5.13 spec/shared/command_with_ui_object.rb
chef-dk-3.1.0 spec/shared/command_with_ui_object.rb
chef-dk-2.5.3 spec/shared/command_with_ui_object.rb
chef-dk-0.15.16 spec/shared/command_with_ui_object.rb
chef-dk-0.15.15 spec/shared/command_with_ui_object.rb
chef-dk-0.15.9 spec/shared/command_with_ui_object.rb
chef-dk-0.13.21 spec/shared/command_with_ui_object.rb
chef-dk-0.12.0 spec/shared/command_with_ui_object.rb
chef-dk-0.9.0 spec/shared/command_with_ui_object.rb