Sha256: 48c9bb5438aee47fca6578e3bc474ea812eea208b8eae2621c1a3c7fc10177c7

Contents?: true

Size: 502 Bytes

Versions: 4

Compression:

Stored size: 502 Bytes

Contents

require 'spec_helper'
require './lib/renuo_bin_check/result'

RSpec.describe RenuoBinCheck::Result do
  let(:result) { RenuoBinCheck::Result.new('heyaa', 'noooo', 0) }

  it 'initializes standard_output with given standard_output' do
    expect(result.standard_output).to eq('heyaa')
  end

  it 'initializes error_output with given error_output' do
    expect(result.error_output).to eq('noooo')
  end

  it 'initializes exit_code with given output' do
    expect(result.exit_code).to eq(0)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
renuo-bin-check-1.0.0.beta2 spec/renuo/bin-check/result_spec.rb
renuo-bin-check-1.0.0.beta1 spec/renuo/bin-check/result_spec.rb
renuo-bin-check-0.2.1 spec/renuo/bin-check/result_spec.rb
renuo-bin-check-0.2.0 spec/renuo/bin-check/result_spec.rb