Skip to content

Commit 7622bb6

Browse files
authored
Update links (#138)
Update links
1 parent 0bfd325 commit 7622bb6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.adoc

+9-9
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ endif::[]
2323

2424
This RSpec style guide outlines the recommended best practices for real-world programmers to write code that can be maintained by other real-world programmers.
2525

26-
https://github.com/rubocop-hq/rubocop[RuboCop], a static code analyzer (linter) and formatter, has a https://github.com/rubocop-hq/rubocop-rspec[`rubocop-rspec`] extension, provides a way to enforce the rules outlined in this guide.
26+
https://github.com/rubocop/rubocop[RuboCop], a static code analyzer (linter) and formatter, has a https://github.com/rubocop/rubocop-rspec[`rubocop-rspec`] extension, provides a way to enforce the rules outlined in this guide.
2727

2828
NOTE: This guide assumes you are using RSpec 3 or later.
2929

@@ -971,7 +971,7 @@ end
971971
Stub HTTP requests when the code is making them.
972972
Avoid hitting real external services.
973973

974-
Use https://github.com/bblimke/webmock[webmock] and https://github.com/vcr/vcr[VCR] separately or http://marnen.github.com/webmock-presentation/webmock.html[together].
974+
Use https://github.com/bblimke/webmock[webmock] and https://github.com/vcr/vcr[VCR] separately or https://marnen.github.io/webmock-presentation/webmock.html[together].
975975

976976
[source,ruby]
977977
----
@@ -992,7 +992,7 @@ end
992992
=== Declare Constants
993993

994994
Do not explicitly declare classes, modules, or constants in example groups.
995-
https://relishapp.com/rspec/rspec-mocks/docs/mutating-constants[Stub constants instead].
995+
https://rspec.info/features/3-12/rspec-mocks/mutating-constants/[Stub constants instead].
996996

997997
NOTE: Constants, including classes and modules, when declared in a block scope, are defined in global namespace, and leak between examples.
998998

@@ -1282,7 +1282,7 @@ end
12821282

12831283
=== Extract Common Expectation Parts into Matchers
12841284

1285-
Extract frequently used common logic from your examples into https://relishapp.com/rspec/rspec-expectations/docs/custom-matchers/define-a-custom-matcher[custom matchers].
1285+
Extract frequently used common logic from your examples into https://rspec.info/features/3-12/rspec-expectations/custom-matchers/define-matcher/[custom matchers].
12861286

12871287
[source,ruby]
12881288
----
@@ -1617,7 +1617,7 @@ end
16171617

16181618
=== Check Model Validity[[model-check-validity]]
16191619

1620-
Add an example ensuring that the model created with ``FactoryBot.create`` is valid.
1620+
Add an example ensuring that the model created with `FactoryBot.create` is valid.
16211621

16221622
[source,ruby]
16231623
----
@@ -1762,11 +1762,11 @@ You can also support the project (and RuboCop) with financial contributions via
17621762

17631763
It's easy, just follow the contribution guidelines below:
17641764

1765-
* https://help.github.com/articles/fork-a-repo[Fork] the https://github.com/rubocop/rspec-style-guide[project] on GitHub
1765+
* https://docs.github.com/en/get-started/quickstart/fork-a-repo[Fork] the https://github.com/rubocop/rspec-style-guide[project] on GitHub
17661766
* Make your feature addition or bug fix in a feature branch
17671767
* Include a http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html[good description] of your changes
17681768
* Push your feature branch to GitHub
1769-
* Send a https://help.github.com/articles/using-pull-requests[Pull Request]
1769+
* Send a https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests[Pull Request]
17701770

17711771
== License
17721772

@@ -1779,8 +1779,8 @@ Inspiration was taken from the following:
17791779

17801780
https://github.com/howaboutwe/rspec-style-guide[HowAboutWe's RSpec style guide]
17811781

1782-
https://github.com/rubocop-hq/rails-style-guide[Community Rails style guide]
1782+
https://github.com/rubocop/rails-style-guide[Community Rails style guide]
17831783

17841784
This guide was maintained by https://github.com/reachlocal[ReachLocal] for a long while.
17851785

1786-
This guide includes material originally present in https://github.com/lelylan/betterspecs[BetterSpecs] (https://lelylan.github.io/betterspecs/[newer site] http://www.betterspecs.org/[older site]), sponsored by https://github.com/lelylan[Lelylan] and maintained by https://github.com/andreareginato[Andrea Reginato] and https://github.com/lelylan/betterspecs/graphs/contributors[many others] for a long while.
1786+
This guide includes material originally present in https://github.com/betterspecs/betterspecs[BetterSpecs] (https://betterspecs.github.io/betterspecs/[newer site] https://www.betterspecs.org/[older site]), sponsored by https://github.com/lelylan[Lelylan] and maintained by https://github.com/andreareginato[Andrea Reginato] and https://github.com/betterspecs/betterspecs/graphs/contributors[many others] for a long while.

0 commit comments

Comments
 (0)