From cc0bc5e87a31a7afd24460e7dcc5d73f9a70c18e Mon Sep 17 00:00:00 2001 From: Jose Blanco Date: Fri, 20 Sep 2024 14:39:11 +0100 Subject: [PATCH] Fix shoulda-matchers typo in guide and test --- FEATURES.md | 4 ++-- lib/generators/suspenders/testing_generator.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FEATURES.md b/FEATURES.md index 6f63c877..702b62aa 100644 --- a/FEATURES.md +++ b/FEATURES.md @@ -90,14 +90,14 @@ spec/support/should_matchers.rb ``` - Uses [action_dispatch-testing-integration-capybara][] to introduce Capybara assertions into Request specs. -- Uses [should-matchers][] for simple one-liner tests for common Rails functionality. +- Uses [shoulda-matchers][] for simple one-liner tests for common Rails functionality. - Uses [webmock][] for stubbing and setting expectations on HTTP requests in Ruby. [RSpec]: http://rspec.info [RSpec Rails]: https://github.com/rspec/rspec-rails [default test suite]: https://guides.rubyonrails.org/testing.html [action_dispatch-testing-integration-capybara]: https://github.com/thoughtbot/action_dispatch-testing-integration-capybara -[should-matchers]: https://github.com/thoughtbot/shoulda-matchers +[shoulda-matchers]: https://github.com/thoughtbot/shoulda-matchers [webmock]: https://github.com/bblimke/webmock ### Factories diff --git a/lib/generators/suspenders/testing_generator.rb b/lib/generators/suspenders/testing_generator.rb index 57ba5b96..7582471d 100644 --- a/lib/generators/suspenders/testing_generator.rb +++ b/lib/generators/suspenders/testing_generator.rb @@ -19,14 +19,14 @@ class TestingGenerator < Rails::Generators::Base ``` - Uses [action_dispatch-testing-integration-capybara][] to introduce Capybara assertions into Request specs. - - Uses [should-matchers][] for simple one-liner tests for common Rails functionality. + - Uses [shoulda-matchers][] for simple one-liner tests for common Rails functionality. - Uses [webmock][] for stubbing and setting expectations on HTTP requests in Ruby. [RSpec]: http://rspec.info [RSpec Rails]: https://github.com/rspec/rspec-rails [default test suite]: https://guides.rubyonrails.org/testing.html [action_dispatch-testing-integration-capybara]: https://github.com/thoughtbot/action_dispatch-testing-integration-capybara - [should-matchers]: https://github.com/thoughtbot/shoulda-matchers + [shoulda-matchers]: https://github.com/thoughtbot/shoulda-matchers [webmock]: https://github.com/bblimke/webmock MARKDOWN