Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Cervantes committed Jul 4, 2014
1 parent 1e7a1e9 commit 1dcc114
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/adaptors/firmata_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
it "#analog_read" do
@firmata_event.stubs(:name).returns(:analog_read_1)
@firmata_event.stubs(:data).returns([128])
@firmata.stubs(:analog_pins).returns([0,1])
@firmata.expects(:read_and_process)
@adaptor.analog_read(1).must_equal 128
end
Expand Down

0 comments on commit 1dcc114

Please sign in to comment.