Sha256: 1050ee724928a18b9b0861ca9f32d1f9d575deaed0ec0687b63d9c8ccef87f7d
Contents?: true
Size: 565 Bytes
Versions: 10
Compression:
Stored size: 565 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', 'host', 'slides_file', serve_ui) banner.run end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems