Sha256: 6e172407955617359998128c8de939b188256f835ca8b84bb783216b14792460

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe ArdIO do

  it "should start serial port" do
    SerialPort.should_receive(:new).with("/dev/ttyUSB0", 115200)
    ArdIO.sp
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
subduino-0.2.2 spec/subduino/ard_io_spec.rb
subduino-0.2.1 spec/subduino/ard_io_spec.rb
subduino-0.2.0 spec/subduino/ard_io_spec.rb
subduino-0.1.0 spec/subduino/ard_io_spec.rb