# 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