Sha256: ffeb7cddc1bf5eb5ed0f8b3a9de048317db1dcae472317cd9c5270e2e4ccaecf

Contents?: true

Size: 322 Bytes

Versions: 2

Compression:

Stored size: 322 Bytes

Contents

require 'spec_helper'

require_relative 'expected'

describe "Specification Example D - Software Reset Command" do
  it "Generates Expected Output" do
    command = MovingsignApi::SoftwareResetCommand.new

    command.sender = :pc
    command.receiver = 34

    expect(command.to_bytes).to eq EXAMPLE_D_EXPECTED
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
movingsign_api-0.0.2 spec/examples/example_D_spec.rb
movingsign_api-0.0.1 spec/examples/example_D_spec.rb