Sha256: e593f68bab5e218f39493e6607b2efd03df862a5d9007435a614f87f99468069

Contents?: true

Size: 591 Bytes

Versions: 1

Compression:

Stored size: 591 Bytes

Contents

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

module DDETest

  describe DDE::Server do
    before(:each ){ @server = DDE::Server.new }

    it_should_behave_like "DDE Server"

    describe '#start_service' do

      it 'service name should be given explicitly' do
        expect{@server.start_dde{|*args|}.start_service}.to raise_error ArgumentError, /0 for 1/
        expect{@server.start_service {|*args|}}.to raise_error ArgumentError, /0 for 1/
      end
    end


  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dde-0.2.2 spec/dde/server_spec.rb