You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace obsolete FogClient/fog_connection test setup with LocalClient and
blobstore_type: 'local'. Job and controller specs that used FogClient as a
test double now use LocalClient directly; config-based specs switch from
fog_connection to blobstore_type/local_blobstore_path. Remove Fog::Mock.reset
calls that are no longer needed. Delete fog_client_spec.rb — it tested the
deprecated FogClient which requires fog provider gems no longer bundled.
* Tests were broken because fog-aws removal left no registered fog provider,
so Fog::Storage.new(provider: ...) raised ArgumentError at runtime.
* Blobstore behavior under test is the job/controller logic, not fog internals,
so LocalClient is the right substitute.
0 commit comments