cupakromer/emoji-rspec

View on GitHub
lib/emoji_test_love/formatters/life_hearts_formatter.rb

Summary

Maintainability
A
0 mins
Test Coverage
module EmojiTestLove
  class LifeHearts
    def passed_display
      "\u{1f49a} "
    end

    def failed_display
      "\u{1f494} "
    end

    def pending_display
      "\u{1f49b} "
    end

    def names
      ['hearts', 'life', 'life_hearts', 'lifehearts']
    end
  end
end