Sha256: c7a60c7c4cb022fae886ab2d2d43a7427d4347096dd33005ae7a5cc11ba3d39f
Contents?: true
Size: 532 Bytes
Versions: 12
Compression:
Stored size: 532 Bytes
Contents
require 'spec_helper' require 'tmpdir' module RevealCK module Commands describe StartWebServer do describe '#run' do it 'works with Rack to start an application' do start_web_server = StartWebServer.new('doc_root', 'port') rack_server = double expect(::Rack::Server) .to(receive(:new)) .and_return(rack_server) expect(rack_server) .to(receive(:start)) start_web_server.run end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems