Skip to content

Instantly share code, notes, and snippets.

View duncanjbrown's full-sized avatar
🍃

Duncan Brown duncanjbrown

🍃
View GitHub Profile
@duncanjbrown
duncanjbrown / custom_formatter.rb
Last active October 6, 2022 09:55 — forked from mcoms/custom_formatter.rb
When you're having a bad day and just want to skip every failing RSpec test
# frozen_string_literal: true
class CustomFormatter
RSpec::Core::Formatters.register self, :example_failed
def initialize(output)
@output = output
end
def example_failed(notification)