Skip to content

Instantly share code, notes, and snippets.

@awostenberg
Created May 19, 2011 20:39
Show Gist options
  • Save awostenberg/981692 to your computer and use it in GitHub Desktop.
Save awostenberg/981692 to your computer and use it in GitHub Desktop.
thermostat should ignore pricing events with identical eventIssuerId
Given a thermostat joined to the ddk meter
When I send a 7 cent price event numbered as message N
Then I see the price is 7 cents on the thermostat display
When I send an 8 cent price event as message N
Then I see the price is still 7 cents
When I send an 8 cent price event as message N+1
Then I see the price is 8 cents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment