Class: RSpec::Core::Configuration
- Inherits:
-
Object
- Object
- RSpec::Core::Configuration
- Defined in:
- lib/emoji_test_love/rspec.rb
Instance Method Summary collapse
Instance Method Details
#built_in_formatter(key) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/emoji_test_love/rspec.rb', line 9 def built_in_formatter(key) key = key.to_s.downcase formatter = ::EmojiTestLove::RSpecIntegration .known_formatters .detect{ |klass| klass.names.map(&:downcase).include? key } formatter || built_in_formatter_without_emoji(key) end |
#built_in_formatter_without_emoji ⇒ Object
7 |
# File 'lib/emoji_test_love/rspec.rb', line 7 alias_method :built_in_formatter_without_emoji, :built_in_formatter |