Sha256: 4d5c31db2ecc754f14a24b1b06043bfda10e789696b42bdbe9dbddc54b3edc52
Contents?: true
Size: 356 Bytes
Versions: 3
Compression:
Stored size: 356 Bytes
Contents
require "spec_helper" module Healthety describe Transmission do it "should send UDP packets" do $stdout = StringIO.new transmission = Transmission.new("127.0.0.1", 8124) transmission.instance_variable_get(:@socket).stubs(:send) transmission.expects(:send).at_least_once transmission.send("test", 5) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
healthety-0.0.3 | spec/unit/transmission_spec.rb |
healthety-0.0.2 | spec/unit/transmission_spec.rb |
healthety-0.0.1 | spec/unit/transmission_spec.rb |