Sha256: 3f07a949353e8e1e7b5f95a8375417c2591cca59b7b711315fc9e8e23a94d5c1
Contents?: true
Size: 305 Bytes
Versions: 2
Compression:
Stored size: 305 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) expect(STDOUT).to receive(:puts).with("\n42") described_class.new(interactor).execute end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
balboa-0.1.6 | spec/balboa/cli/command/last_command_spec.rb |
balboa-0.1.5 | spec/balboa/cli/command/last_command_spec.rb |