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

Version Path
reveal-ck-3.4.0 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.3.1 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.3.0 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.2.0 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.1.0 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.0.1 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-3.0.0 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-0.6.2 spec/lib/reveal-ck/commands/print_banner_spec.rb
reveal-ck-0.6.1 spec/lib/reveal-ck/commands/print_banner_spec.rb