Skip to content

Commit 94d9ff8

Browse files
authored
Merge pull request #2736 from kianmeng/fix-typos
Fix typos
2 parents 5f20071 + faf6844 commit 94d9ff8

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Bundler/DuplicatedGem:
2929

3030
Gemspec/RequiredRubyVersion:
3131
# Rubocop checks that the target ruby version matches the gemspec version
32-
# but doesnt have a 2.2 option
32+
# but doesn't have a 2.2 option
3333
Enabled: false
3434

3535
Metrics/BlockLength:

.rubocop_rspec_base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Style/SignalException:
104104
Layout/SpaceAroundEqualsInParameterDefault:
105105
EnforcedStyle: no_space
106106

107-
# We don't care about single vs double qoutes.
107+
# We don't care about single vs double quotes.
108108
Style/StringLiterals:
109109
Enabled: false
110110

Changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Enhancements:
181181
(Eloy Espinaco, Luka Lüdicke, #2355, #2356, #2378)
182182
* Generated scaffold now includes engine route helpers when inside a mountable engine.
183183
(Andrew W. Lee, #2372)
184-
* Improve request spec "controller" scafold when no action is specified.
184+
* Improve request spec "controller" scaffold when no action is specified.
185185
(Thomas Hareau, #2399)
186186
* Introduce testing snippets concept (Phil Pirozhkov, Benoit Tigeot, #2423)
187187
* Prevent collisions with `let(:name)` for Rails 6.1 and `let(:method_name)` on older
@@ -584,7 +584,7 @@ Enhancements:
584584
* Add support for PATCH to route specs created via scaffold. (Igor Zubkov, #1336)
585585
* Improve controller and routing spec calls to `routes` by using `yield`
586586
instead of `call`. (Anton Davydov, #1308)
587-
* Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGoup`s
587+
* Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGroup`s
588588
via both `type: :job` and inferring type from spec directory `spec/jobs`.
589589
(Gabe Martin-Dempesy, #1361)
590590
* Include `RSpec::Rails::FixtureSupport` into example groups using metadata

example_app_generator/spec/verify_view_path_stub_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'rails_helper'
22

3-
RSpec.describe "verify view path doesnt leak stubs between examples", type: :view, order: :defined do
3+
RSpec.describe "verify view path doesn't leak stubs between examples", type: :view, order: :defined do
44
subject(:html) do
55
render partial: "example"
66
rendered

features/directory_structure.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Feature: The directory structure
113113
lib
114114
├── country_map.rb
115115
├── development_mail_interceptor.rb
116-
├── enviroment_mail_interceptor.rb
116+
├── environment_mail_interceptor.rb
117117
└── tasks
118118
└── irc.rake
119119
spec

lib/rspec/rails/example/mailbox_example_group.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def have_failed
6969
#
7070
# @param message [Hash, Mail::Message] a mail message or hash of
7171
# attributes used to build one
72-
# @return [ActionMaibox::InboundMessage]
72+
# @return [ActionMailbox::InboundMessage]
7373
def process(message)
7474
MailboxExampleGroup.create_inbound_email(message).tap do |mail|
7575
self.class.mailbox_class.receive(mail)

script/run_build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file is manually managed unlike the rest of core rspec gems because it is independant.
2+
# This file is manually managed unlike the rest of core rspec gems because it is independent.
33

44
set -e
55
source script/functions.sh

script/run_rubocop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file is manually managed unlike the rest of core rspec gems because it is independant.
2+
# This file is manually managed unlike the rest of core rspec gems because it is independent.
33

44
set -e
55
source script/functions.sh

script/update_rubygems_and_install_bundler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file is manually managed unlike the rest of core rspec gems because it is independant.
2+
# This file is manually managed unlike the rest of core rspec gems because it is independent.
33

44
set -e
55

0 commit comments

Comments
 (0)