Class: Luna::RSpec::Formatters::Checks
- Inherits:
-
Base
- Object
- RSpec::Core::Formatters::BaseTextFormatter
- Base
- Luna::RSpec::Formatters::Checks
show all
- Defined in:
- lib/luna/rspec/formatters/checks.rb
Instance Method Summary
collapse
Methods inherited from Base
#dump_summary, #start, #start_dump
Instance Method Details
#example_failed(e) ⇒ Object
13
14
15
16
17
|
# File 'lib/luna/rspec/formatters/checks.rb', line 13
def example_failed(e)
super(e)
output.print("\s")
output.print(failure_color("\u2718"))
end
|
#example_passed(e) ⇒ Object
7
8
9
10
11
|
# File 'lib/luna/rspec/formatters/checks.rb', line 7
def example_passed(e)
super(e)
output.print("\s")
output.print(success_color("\u2713"))
end
|
#example_pending(e) ⇒ Object
19
20
21
22
23
|
# File 'lib/luna/rspec/formatters/checks.rb', line 19
def example_pending(e)
super(e)
output.print("\s")
output.print(pending_color("\u203D"))
end
|