RSpec formatters have changed, here's what I used in v3.5
require "rspec/core/formatters/base_formatter" class DryRunFormatter < RSpec::Core::Formatters::BaseFormatter RSpec::Core::Formatters.register self, :example_started def start(example_count) output << "Running #{example_count.count} specs\n" exit(0) end end
RSpec formatters have changed, here's what I used in v3.5