test/helper.rb in launchpad-0.1.0 vs test/helper.rb in launchpad-0.1.1

- old
+ new

@@ -17,23 +17,25 @@ end # mock Portmidi for tests module Portmidi - class DeviceError < StandardError; end - class Input attr_accessor :device_id def initialize(device_id) self.device_id = device_id end + def read(*args); nil; end + def close; nil; end end class Output attr_accessor :device_id def initialize(device_id) self.device_id = device_id end + def write(*args); nil; end + def close; nil; end end def self.input_devices; mock_devices; end def self.output_devices; mock_devices; end def self.start; end