Sha256: 08c58a357187e3a3ef77f35747a9a42e396967cdcb25aa4aff05ea01c04009bd
Contents?: true
Size: 366 Bytes
Versions: 2
Compression:
Stored size: 366 Bytes
Contents
require 'spec_helper' require_relative 'expected' describe "Specification Example C - Set Clock Command" do it "Generates Expected Output" do command = MovingsignApi::SetClockCommand.new command.sender = :pc command.receiver = 34 command.datetime = Time.new(2004,04,02,12,36,23) expect(command.to_bytes).to eq EXAMPLE_C_EXPECTED end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
movingsign_api-0.0.2 | spec/examples/example_C_spec.rb |
movingsign_api-0.0.1 | spec/examples/example_C_spec.rb |