Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 4702de6

Browse files
committed
Adjust docs to be in line with RSpec 4
1 parent d7a8005 commit 4702de6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

features/formatters/custom_formatter.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Feature: custom formatters
1313
"""ruby
1414
class CustomFormatter
1515
# This registers the notifications this formatter supports, and tells
16-
# us that this was written against the RSpec 3.x formatter API.
16+
# us that this was written against the RSpec >= 3.x formatter API.
1717
RSpec::Core::Formatters.register self, :example_started
1818
1919
def initialize(output)

lib/rspec/core/project_initializer/spec/spec_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
# library (such as bogus or mocha) by changing the `mock_with` option here.
2828
config.mock_with :rspec do |mocks|
2929
# Prevents you from mocking or stubbing a method that does not exist on
30-
# a real object. This is generally recommended, and will default to
31-
# `true` in RSpec 4.
30+
# a real object. This is generally recommended, and is the default since
31+
# RSpec 4.
3232
mocks.verify_partial_doubles = true
3333
end
3434

0 commit comments

Comments
 (0)