Make sensor accept blocks instead of procs #29

Merged
merged 3 commits into from Feb 23, 2013

Projects

None yet

2 participants

@pcasaretto
Contributor

Fixes #28

@vickash
Collaborator
vickash commented Feb 22, 2013

Can you modify the test to make sure the data gets passed in? Instead of setting first_block_called and second_block_called to true, you could copy data into a variable in each block and then test for both being equal to 'Some data'.

@vickash vickash merged commit 308a12d into austinbv:master Feb 23, 2013

1 check passed

default The Travis build passed
Details
@pcasaretto pcasaretto deleted the pcasaretto:sensor-blocks branch Feb 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment