Sha256: ca4d52bfc9b8b7a1eddc681a54420ac0955bd623bd41df3d2d4717b0bca56b35
Contents?: true
Size: 537 Bytes
Versions: 3
Compression:
Stored size: 537 Bytes
Contents
require 'blinky' module StartingBlocks module Extensions class GreenOnSuccessRedOnFailure def receive_specs_to_run specs Blinky.new.light.building! end def receive_results results if (results[:errors] || 0) > 0 Blinky.new.light.failure! elsif (results[:failures] || 0) > 0 Blinky.new.light.failure! elsif (results[:skips] || 0) > 0 Blinky.new.light.building! else Blinky.new.light.success! end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
starting_blocks-0.0.13 | lib/extensions/blinky.rb |
starting_blocks-0.0.12 | lib/extensions/blinky.rb |
starting_blocks-0.0.11 | lib/extensions/blinky.rb |