mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-12 23:27:48 +00:00
Update outdated comment
This commit is contained in:
@@ -73,8 +73,7 @@ RSpec.configure do |config|
|
||||
expectations.syntax = :expect
|
||||
end
|
||||
|
||||
# Enable caching in any specs tagged with `caching: true`. Usage is exactly the same as the
|
||||
# well-known `js: true` tag used to enable javascript in feature specs.
|
||||
# Enable caching in any specs tagged with `caching: true`.
|
||||
config.around(:each, :caching) do |example|
|
||||
caching = ActionController::Base.perform_caching
|
||||
ActionController::Base.perform_caching = example.metadata[:caching]
|
||||
|
||||
Reference in New Issue
Block a user