Sha256: 49c5dfd9993b1b1b327909d6f5dcce35906448c7fe69b0a5e962ad119be9366b

Contents?: true

Size: 306 Bytes

Versions: 5

Compression:

Stored size: 306 Bytes

Contents

require 'spec_helper'

RSpec.describe DelegatingRoutine do

  it "should delegate" do
    result = DelegatingRoutine.call(1,8)
    expect(result.outputs[:answer]).to eq 9
  end

  it "should delegate with assumed express_output" do
    result = DelegatingRoutine[1,8]
    expect(result).to eq 9
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lev-12.1.0 spec/delegates_to_spec.rb
lev-12.0.0 spec/delegates_to_spec.rb
lev-11.0.0 spec/delegates_to_spec.rb
lev-10.1.0 spec/delegates_to_spec.rb
lev-10.0.0 spec/delegates_to_spec.rb