Skip to content

Commit

Permalink
Merge pull request #2736 from kianmeng/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
pirj authored and JonRowe committed Feb 24, 2024
1 parent 7da16da commit e5834e6
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Expand Up @@ -29,7 +29,7 @@ Bundler/DuplicatedGem:

Gemspec/RequiredRubyVersion:
# Rubocop checks that the target ruby version matches the gemspec version
# but doesnt have a 2.2 option
# but doesn't have a 2.2 option
Enabled: false

Metrics/BlockLength:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop_rspec_base.yml
Expand Up @@ -104,7 +104,7 @@ Style/SignalException:
Layout/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: no_space

# We don't care about single vs double qoutes.
# We don't care about single vs double quotes.
Style/StringLiterals:
Enabled: false

Expand Down
4 changes: 2 additions & 2 deletions Changelog.md
Expand Up @@ -181,7 +181,7 @@ Enhancements:
(Eloy Espinaco, Luka Lüdicke, #2355, #2356, #2378)
* Generated scaffold now includes engine route helpers when inside a mountable engine.
(Andrew W. Lee, #2372)
* Improve request spec "controller" scafold when no action is specified.
* Improve request spec "controller" scaffold when no action is specified.
(Thomas Hareau, #2399)
* Introduce testing snippets concept (Phil Pirozhkov, Benoit Tigeot, #2423)
* Prevent collisions with `let(:name)` for Rails 6.1 and `let(:method_name)` on older
Expand Down Expand Up @@ -584,7 +584,7 @@ Enhancements:
* Add support for PATCH to route specs created via scaffold. (Igor Zubkov, #1336)
* Improve controller and routing spec calls to `routes` by using `yield`
instead of `call`. (Anton Davydov, #1308)
* Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGoup`s
* Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGroup`s
via both `type: :job` and inferring type from spec directory `spec/jobs`.
(Gabe Martin-Dempesy, #1361)
* Include `RSpec::Rails::FixtureSupport` into example groups using metadata
Expand Down
2 changes: 1 addition & 1 deletion example_app_generator/spec/verify_view_path_stub_spec.rb
@@ -1,6 +1,6 @@
require 'rails_helper'

RSpec.describe "verify view path doesnt leak stubs between examples", type: :view, order: :defined do
RSpec.describe "verify view path doesn't leak stubs between examples", type: :view, order: :defined do
subject(:html) do
render partial: "example"
rendered
Expand Down
2 changes: 1 addition & 1 deletion features/directory_structure.feature
Expand Up @@ -113,7 +113,7 @@ Feature: The directory structure
lib
├── country_map.rb
├── development_mail_interceptor.rb
├── enviroment_mail_interceptor.rb
├── environment_mail_interceptor.rb
└── tasks
└── irc.rake
spec
Expand Down
2 changes: 1 addition & 1 deletion lib/rspec/rails/example/mailbox_example_group.rb
Expand Up @@ -69,7 +69,7 @@ def have_failed
#
# @param message [Hash, Mail::Message] a mail message or hash of
# attributes used to build one
# @return [ActionMaibox::InboundMessage]
# @return [ActionMailbox::InboundMessage]
def process(message)
MailboxExampleGroup.create_inbound_email(message).tap do |mail|
self.class.mailbox_class.receive(mail)
Expand Down
2 changes: 1 addition & 1 deletion script/run_build
@@ -1,5 +1,5 @@
#!/bin/bash
# This file is manually managed unlike the rest of core rspec gems because it is independant.
# This file is manually managed unlike the rest of core rspec gems because it is independent.

set -e
source script/functions.sh
Expand Down
2 changes: 1 addition & 1 deletion script/run_rubocop
@@ -1,5 +1,5 @@
#!/bin/bash
# This file is manually managed unlike the rest of core rspec gems because it is independant.
# This file is manually managed unlike the rest of core rspec gems because it is independent.

set -e
source script/functions.sh
Expand Down
2 changes: 1 addition & 1 deletion script/update_rubygems_and_install_bundler
@@ -1,5 +1,5 @@
#!/bin/bash
# This file is manually managed unlike the rest of core rspec gems because it is independant.
# This file is manually managed unlike the rest of core rspec gems because it is independent.

set -e

Expand Down

0 comments on commit e5834e6

Please sign in to comment.