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

Commit ffd5414

Browse files
committed
Fix minor spelling and grammar errors
1 parent fd13a73 commit ffd5414

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/rspec/core/example.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Core
99
#
1010
# This allows us to provide rich metadata about each individual
1111
# example without adding tons of methods directly to the ExampleGroup
12-
# that users may inadvertantly redefine.
12+
# that users may inadvertently redefine.
1313
#
1414
# Useful for configuring logging and/or taking some action based
1515
# on the state of an example's metadata.

spec/rspec/core/example_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ def expect_pending_result(example)
799799
end
800800

801801
describe "exposing the examples reporter" do
802-
it "returns a null reporter when the example hasnt run yet" do
802+
it "returns a null reporter when the example has not run yet" do
803803
example = RSpec.describe.example
804804
expect(example.reporter).to be RSpec::Core::NullReporter
805805
end

0 commit comments

Comments
 (0)