Sha256: 203e3aae44553a2c233967cfac1f8695762457efc10165f7d142d529c0b7bae5
Contents?: true
Size: 522 Bytes
Versions: 9
Compression:
Stored size: 522 Bytes
Contents
require 'spec_helper' module RevealCK module Commands describe PrintBanner do describe '#run' do it 'sends #messages and #separators to the ui' do serve_ui = double expect(serve_ui) .to(receive(:separator)) .at_least :once expect(serve_ui) .to(receive(:message)) .at_least :once banner = PrintBanner.new('doc_root', 'port', 'slides_file', serve_ui) banner.run end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems