mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-30 10:49:03 -04:00
- Create AGENTS.md with layout advice for coding agents. - Update timeline feature spec to use rack_test driver and improve context descriptions. - Enhance spec_helper to log feature spec execution time. - Add support for Wikidata service mocking in specs.
10 lines
337 B
Ruby
10 lines
337 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Saving a garden with a location looks it up on Wikidata, a real HTTPS request
|
|
# of about half a second each. Specs don't need the answer, so no lookup is made.
|
|
RSpec.configure do |config|
|
|
config.before do
|
|
allow(WikidataService).to receive_messages(find_wikidata_id: nil, fetch_temps: {})
|
|
end
|
|
end
|