Skip to content

Commit edb3062

Browse files
authored
Merge pull request rspec#2611 from jdufresne/typos
Fix some typos
2 parents 61cf2cd + db7e73c commit edb3062

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Changelog.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Bug Fixes:
9999

100100
Enhancements:
101101

102-
* Issue a warning when using job matchers with `#at` mis-match on `usec` precision.
102+
* Issue a warning when using job matchers with `#at` mismatch on `usec` precision.
103103
(Jon Rowe, #2350)
104104
* Generated request specs now have a bare `_spec` suffix instead of `request_spec`.
105105
(Eloy Espinaco, Luka Lüdicke, #2355, #2356, #2378)
@@ -226,7 +226,7 @@ Bug Fixes:
226226

227227
Bug Fixes:
228228

229-
* Namespaced fixtures now generate a `/` seperated path rather than an `_`.
229+
* Namespaced fixtures now generate a `/` separated path rather than an `_`.
230230
(@nxlith, #2077)
231231
* Check the arity of `errors` before attempting to use it to generate the `be_valid`
232232
error message. (Kevin Kuchta, #2096)
@@ -386,7 +386,7 @@ Enhancements:
386386

387387
Bug fixes:
388388

389-
* Prevent asset helpers from taking precendence over route helpers. (Prem Sichanugrist, #1496)
389+
* Prevent asset helpers from taking precedence over route helpers. (Prem Sichanugrist, #1496)
390390
* Prevent `NoMethodError` during failed `have_rendered` assertions on weird templates.
391391
(Jon Rowe, #1623).
392392

benchmarks/before_block_capture_block_vs_yield.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def capture_block_and_call_n_times(n, &block)
3636

3737
__END__
3838

39-
This attemps to measure the performance of how `routes` works in RSpec. It's
39+
This attempts to measure the performance of how `routes` works in RSpec. It's
4040
actually a method which delegates to `before`. RSpec executes `before` hooks by
4141
capturing the block and then performing an `instance_exec` on it later in the
4242
example context.

features/controller_specs/setting_request_headers.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Feature: Setting request headers
22

33
We recommend you to switch to request specs instead of controller specs if you want to set
44
headers in your call. If you still want to set headers in controller specs, you can use
5-
`request.headers` as mentioned bellow.
5+
`request.headers` as mentioned below.
66

77
Scenario: Setting a header value in a controller spec
88
Given a file named "spec/controllers/application_controller_spec.rb" with:

lib/rspec/rails/matchers/active_job.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def check_for_inprecise_value(scheduled_at)
181181
|`Time.current.change(usec: 0)`
182182
|
183183
|Note: RSpec cannot do this for you because jobs can be scheduled with usec
184-
|precision and we do not know wether it is on purpose or not.
184+
|precision and we do not know whether it is on purpose or not.
185185
|
186186
|
187187
WARNING

script/functions.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function run_specs_and_record_done {
3838

3939
function run_cukes {
4040
if [ -d features ]; then
41-
# force jRuby to use client mode JVM or a compilation mode thats as close as possible,
41+
# force jRuby to use client mode JVM or a compilation mode that's as close as possible,
4242
# idea taken from https://github.com/jruby/jruby/wiki/Improving-startup-time
4343
#
4444
# Note that we delay setting this until we run the cukes because we've seen

0 commit comments

Comments
 (0)