Sha256: b0a0e51c5910f412422bc899c0895a8f1efcccc33c36ed9e68a1479aa1c82e47
Contents?: true
Size: 386 Bytes
Versions: 2
Compression:
Stored size: 386 Bytes
Contents
require_relative "../spec_helper.rb" describe Minilab::ConnectionState do it "default to an unconnected state" do assert_equal false, subject.connected? end it "allow the connection state to be changed" do subject.connected = true assert_equal true, subject.connected? subject.connected = false assert_equal false, subject.connected? end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
minilab-2.0.1-x86-mingw32 | spec/unit/connection_state_spec.rb |
minilab-2.0.0-x86-mingw32 | spec/unit/connection_state_spec.rb |