Sha256: 50f5ce0c670a834311d4be4523ef33f49d5104c622b76e576c6e7333f7178c82

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Balboa::CLI::Command::LastCommand do
  it 'prints out the result of interactor last method' do
    interactor = double('itr', last: 42)

    output = described_class.new(interactor).execute

    expect(output).to eq("\n42")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
balboa-0.1.7 spec/balboa/cli/command/last_command_spec.rb