Skip to content

Commit

Permalink
Fix spec to address bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthomas committed Sep 29, 2017
1 parent a62f604 commit ab49d62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/interfaces/udp_interface_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ module Cosmos
expect(i.instance_variable_get("@hostname")).to eql '127.0.0.1'
expect(i.instance_variable_get("@interface_address")).to eql '127.0.0.1'
expect(i.instance_variable_get("@bind_address")).to eql '127.0.0.1'
i = UdpInterface.new('10.10.10.1','8888','8889','8890','10.10.10.2','64','5','5','10.10.10.3')
expect(i.instance_variable_get("@hostname")).to eql '10.10.10.1'
expect(i.instance_variable_get("@interface_address")).to eql '10.10.10.2'
expect(i.instance_variable_get("@bind_address")).to eql '10.10.10.3'
end

it "is not writeable if no write port given" do
Expand Down

0 comments on commit ab49d62

Please sign in to comment.