Exemple #1
0
 def test_it_can_be_turn_on(self):
     tv = TV()
     tv.turn_on()
     tv | should | be_on
Exemple #2
0
 def test_it_can_be_turn_off(self):
     tv = TV()
     tv.turn_on()
     tv.turn_off()
     tv | should_not | be_on