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

Version Path
reveal-ck-4.0.0 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.9.2 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.9.1 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.9.0 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.8.1 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.8.0 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.7.0 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.6.0 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.5.1 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.5.0 spec/lib/reveal-ck/commands/print_banner_spec.rb