Sha256: 462f2e811c974533be0410a9004dc9347564f172582c2f62cc0587244d8dbd52

Contents?: true

Size: 380 Bytes

Versions: 8

Compression:

Stored size: 380 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

setup_cl

include PoolParty::Messenger

describe "Messenger" do
  it "should have the method messenger_send!" do
    Messenger.respond_to?(:messenger_send!).should == true
  end
  it "should call send_cmd on the client" do
    Messenger.messenger_send!('send_cmd ["echo hi"]', true).should =~ /-run pm_client send_cmd/
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
auser-poolparty-0.2.20 spec/poolparty/helpers/messenger_spec.rb
auser-poolparty-0.2.21 spec/poolparty/helpers/messenger_spec.rb
auser-poolparty-0.2.22 spec/poolparty/helpers/messenger_spec.rb
auser-poolparty-0.2.23 spec/poolparty/helpers/messenger_spec.rb
auser-poolparty-0.2.24 spec/poolparty/helpers/messenger_spec.rb
auser-poolparty-0.2.25 spec/poolparty/helpers/messenger_spec.rb
auser-poolparty-0.2.26 spec/poolparty/helpers/messenger_spec.rb
poolparty-0.2.18 spec/poolparty/helpers/messenger_spec.rb