Sha256: 0e119f4db40e1fc9098e0a56fdf52d302fba49ea55ebead872629dc3032ddffc

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

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

describe Nerpin do
  before do
    @destination = double("CoreMIDI::Destination")
  end

  describe '::Micron' do
    it 'returns a controller for micron' do
      Controller.should_receive(:new).with(@destination, Nrpn::Micron)

      Nerpin::Micron(@destination)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nerpin-0.0.2 spec/nerpin/micron_spec.rb
nerpin-0.0.1 spec/nerpin/micron_spec.rb