Sha256: b3397723bf38e9de8dabc897cb5cca86822aeb29d44584e437e806890733b812

Contents?: true

Size: 357 Bytes

Versions: 4

Compression:

Stored size: 357 Bytes

Contents

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

describe SPNet::PortLocater do
  describe '.new' do
    it 'should assign block and port name' do
      locater = PortLocater.new :block_name => "block_A", :port_name => "port_A"
      locater.block_name.should eq("block_A")
      locater.port_name.should eq("port_A")
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spnet-0.1.8 spec/storage/port_locater_spec.rb
spnet-0.1.7 spec/storage/port_locater_spec.rb
spnet-0.1.6 spec/storage/port_locater_spec.rb
spnet-0.1.5 spec/storage/port_locater_spec.rb