1
0
Fork 1

Tweak gem grouping for test libraries

Idk a clear and concise way to group all these together, *and* include
`rspec-rails` in both development and test as the install instructions
recommend, but omit `webmock` from development.

Not that it matters a lot, I just want to be minimal about the gems we
include, for the sake of clarity.

This formulation is a bit verbose, but I think it's maximally clear and
self-consistent, and I appreciate that. I might change my mind later
though?

Anyway, I mostly just noticed this because of the redundancy where
`webmock`'s `group: :test` I think doesn't do anything? Shrug
This commit is contained in:
Emi Matchu 2025-01-12 19:21:55 -08:00
parent bf1c8f71fe
commit 86a1875d6d

View file

@ -98,5 +98,7 @@ end
# For automated tests.
group :development, :test do
gem "rspec-rails", "~> 7.0"
gem "webmock", "~> 3.24", group: :test
end
group :test do
gem "webmock", "~> 3.24"
end