Sha256: 99db5f010b693a1dbb09ed3f2c2b80db3b789f32297dd35faf8d04744acb0a4e
Contents?: true
Size: 489 Bytes
Versions: 14
Compression:
Stored size: 489 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe OnStomp do describe ".connect / .open" do let(:client) { mock('client') } let(:client_uri) { mock('uri') } let(:client_options) { mock('options') } it "should create a new client and connect it" do OnStomp::Client.should_receive(:new).with(client_uri, client_options).and_return(client) client.should_receive(:connect) OnStomp.open(client_uri, client_options).should == client end end end
Version data entries
14 entries across 14 versions & 1 rubygems