Skip to content

Instantly share code, notes, and snippets.

@jolts
Created June 30, 2009 20:10
Show Gist options
  • Save jolts/138385 to your computer and use it in GitHub Desktop.
Save jolts/138385 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
# encoding: utf-8
$:.unshift File.dirname(__FILE__) + '/..'
require 'bin/usbsyncer.rb'
require 'test/unit'
class TestUsbSyncer < Test::Unit::TestCase
def setup
@usbsyncer = UsbSyncer::Device.new(/Cruzer Micro/)
end
def test_usb_utils
assert_equal([true, 002, 004], @usbsyncer.init_device)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment