Sha256: c3b0b987a9c24362c170d4d2674f0e094e8407e70ecda47b42e7688d0a8474cd

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

require 'spec_helper'

describe KJess::ClientError do
  before do
    @client = KJess::Client.new
  end

  after do
    KJess::Spec.reset_server( @client )
  end

  it "raises a client error if we send an invalid command" do
    lambda { @client.send_recv( KJess::Request::Status.new ) }.must_raise KJess::ClientError
  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kjess-1.0.0 spec/response/client_error_spec.rb