Sha256: 2a9789d141f5dba3a688057c3ce65990b05db82dfde5b7c854ee5d91fa858af2

Contents?: true

Size: 396 Bytes

Versions: 1

Compression:

Stored size: 396 Bytes

Contents

require 'spec_helper'
require 'scripted/formatters/websocket'

describe Scripted::Formatters::Websocket do

  it "uses websocket" do
    pending "this test just puts the output for the moment"
    command = Scripted::Commands::Shell.new(%~ruby -e "20.times { |i| print i; sleep 0.1 }"~)
    Scripted::Formatters::Websocket.new("ws://....") do |log|
      command.execute!(log)
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scripted-0.0.1 spec/scripted/formatters/websocket_spec.rb