Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Av old hyrax #1130

Open
wants to merge 225 commits into
base: develop
Choose a base branch
from

derivative and caption naming

b6a1877
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Av old hyrax #1130

derivative and caption naming
b6a1877
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test summary failed Jan 17, 2025 in 0s

2124 tests run, 2112 passed, 2 skipped, 10 failed.

Annotations

Check failure on line 483 in spec/services/spot/derivatives/video_derivatives_service_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test summary

./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#check_transcript the transcript exists enques the transcript job

#<InstanceDouble(Aws::S3::Client) (anonymous)> received :head_object with unexpected arguments
  expected: ({:bucket=>"ldr-imports", :key=>"file.vtt"})
       got: ({:bucket=>"ldr-imports", :key=>"file/file_caption.vtt"})
Diff:
@@ -1 +1 @@
-[{:bucket=>"ldr-imports", :key=>"file.vtt"}]
+[{:bucket=>"ldr-imports", :key=>"file/file_caption.vtt"}]

 Please stub a default value first if message might be received with other args as well.
Raw output
Failure/Error: s3_client.head_object(bucket: s3_source, key: transcript_name)

  #<InstanceDouble(Aws::S3::Client) (anonymous)> received :head_object with unexpected arguments
    expected: ({:bucket=>"ldr-imports", :key=>"file.vtt"})
         got: ({:bucket=>"ldr-imports", :key=>"file/file_caption.vtt"})
  Diff:
  @@ -1 +1 @@
  -[{:bucket=>"ldr-imports", :key=>"file.vtt"}]
  +[{:bucket=>"ldr-imports", :key=>"file/file_caption.vtt"}]

   Please stub a default value first if message might be received with other args as well. 
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:108:in `block in <module:Support>'
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:117:in `notify_failure'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:348:in `notify'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:332:in `__raise'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:60:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:237:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:221:in `message_received'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:98:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:74:in `block (2 levels) in define_proxy_method'
./app/services/spot/derivatives/video_derivative_service.rb:83:in `check_transcript'
./spec/services/spot/derivatives/video_derivatives_service_spec.rb:483:in `block (4 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:365:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `reverse_each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:484:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:505:in `run_before_example'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:261:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:259:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:607:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:116:in `block in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:74:in `report'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:115:in `run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:89:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:71:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:45:in `invoke'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/exe/rspec:4:in `<top (required)>'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:492:in `exec'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:28:in `start'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:37:in `block in <top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:29:in `<top (required)>'
/usr/local/bundle/bin/bundle:23:in `load'
/usr/local/bundle/bin/bundle:23:in `<main>'

Check failure on line 471 in spec/services/spot/derivatives/video_derivatives_service_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test summary

./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#check_transcript the transcript does not exist logs a warning that there is no transcript

#<InstanceDouble(Aws::S3::Client) (anonymous)> received :head_object with unexpected arguments
  expected: ({:bucket=>"ldr-imports", :key=>"file.vtt"})
       got: ({:bucket=>"ldr-imports", :key=>"file/file_caption.vtt"})
Diff:
@@ -1 +1 @@
-[{:bucket=>"ldr-imports", :key=>"file.vtt"}]
+[{:bucket=>"ldr-imports", :key=>"file/file_caption.vtt"}]

 Please stub a default value first if message might be received with other args as well.
Raw output
Failure/Error: s3_client.head_object(bucket: s3_source, key: transcript_name)

  #<InstanceDouble(Aws::S3::Client) (anonymous)> received :head_object with unexpected arguments
    expected: ({:bucket=>"ldr-imports", :key=>"file.vtt"})
         got: ({:bucket=>"ldr-imports", :key=>"file/file_caption.vtt"})
  Diff:
  @@ -1 +1 @@
  -[{:bucket=>"ldr-imports", :key=>"file.vtt"}]
  +[{:bucket=>"ldr-imports", :key=>"file/file_caption.vtt"}]

   Please stub a default value first if message might be received with other args as well. 
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:108:in `block in <module:Support>'
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:117:in `notify_failure'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:348:in `notify'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:332:in `__raise'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:60:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:237:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:221:in `message_received'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:98:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:74:in `block (2 levels) in define_proxy_method'
./app/services/spot/derivatives/video_derivative_service.rb:83:in `check_transcript'
./spec/services/spot/derivatives/video_derivatives_service_spec.rb:471:in `block (4 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:365:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `reverse_each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:484:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:505:in `run_before_example'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:261:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:259:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:607:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:116:in `block in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:74:in `report'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:115:in `run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:89:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:71:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:45:in `invoke'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/exe/rspec:4:in `<top (required)>'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:492:in `exec'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:28:in `start'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:37:in `block in <top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:29:in `<top (required)>'
/usr/local/bundle/bin/bundle:23:in `load'
/usr/local/bundle/bin/bundle:23:in `<main>'

Check failure on line 303 in spec/services/spot/derivatives/video_derivatives_service_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test summary

./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#check_premade_derivatives the response is not empty

#<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
  expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
       got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
Diff:
@@ -1 +1 @@
-[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
+[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

 Please stub a default value first if message might be received with other args as well.
Raw output
Failure/Error: object_list = s3_client.list_objects(bucket: s3_source, prefix: prefix).to_h[:contents]

  #<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
    expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
         got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
  Diff:
  @@ -1 +1 @@
  -[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
  +[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

   Please stub a default value first if message might be received with other args as well. 
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:108:in `block in <module:Support>'
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:117:in `notify_failure'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:348:in `notify'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:332:in `__raise'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:60:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:237:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:221:in `message_received'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:98:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:74:in `block (2 levels) in define_proxy_method'
./app/services/spot/derivatives/video_derivative_service.rb:44:in `check_premade_derivatives'
./spec/services/spot/derivatives/video_derivatives_service_spec.rb:303:in `block (4 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:365:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `reverse_each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:484:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:505:in `run_before_example'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:261:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:259:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:607:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:116:in `block in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:74:in `report'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:115:in `run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:89:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:71:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:45:in `invoke'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/exe/rspec:4:in `<top (required)>'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:492:in `exec'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:28:in `start'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:37:in `block in <top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:29:in `<top (required)>'
/usr/local/bundle/bin/bundle:23:in `load'
/usr/local/bundle/bin/bundle:23:in `<main>'

Check failure on line 303 in spec/services/spot/derivatives/video_derivatives_service_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test summary

./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#check_premade_derivatives the response is not empty should call rename

#<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
  expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
       got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
Diff:
@@ -1 +1 @@
-[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
+[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

 Please stub a default value first if message might be received with other args as well.
Raw output
Failure/Error: object_list = s3_client.list_objects(bucket: s3_source, prefix: prefix).to_h[:contents]

  #<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
    expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
         got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
  Diff:
  @@ -1 +1 @@
  -[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
  +[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

   Please stub a default value first if message might be received with other args as well. 
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:108:in `block in <module:Support>'
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:117:in `notify_failure'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:348:in `notify'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:332:in `__raise'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:60:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:237:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:221:in `message_received'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:98:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:74:in `block (2 levels) in define_proxy_method'
./app/services/spot/derivatives/video_derivative_service.rb:44:in `check_premade_derivatives'
./spec/services/spot/derivatives/video_derivatives_service_spec.rb:303:in `block (4 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:365:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `reverse_each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:484:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:505:in `run_before_example'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:261:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:259:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:607:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:116:in `block in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:74:in `report'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:115:in `run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:89:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:71:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:45:in `invoke'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/exe/rspec:4:in `<top (required)>'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:492:in `exec'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:28:in `start'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:37:in `block in <top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:29:in `<top (required)>'
/usr/local/bundle/bin/bundle:23:in `load'
/usr/local/bundle/bin/bundle:23:in `<main>'

Check failure on line 319 in spec/services/spot/derivatives/video_derivatives_service_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test summary

./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#check_premade_derivatives the response is empty

#<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
  expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
       got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
Diff:
@@ -1 +1 @@
-[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
+[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

 Please stub a default value first if message might be received with other args as well.
Raw output
Failure/Error: object_list = s3_client.list_objects(bucket: s3_source, prefix: prefix).to_h[:contents]

  #<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
    expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
         got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
  Diff:
  @@ -1 +1 @@
  -[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
  +[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

   Please stub a default value first if message might be received with other args as well. 
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:108:in `block in <module:Support>'
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:117:in `notify_failure'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:348:in `notify'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:332:in `__raise'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:60:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:237:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:221:in `message_received'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:98:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:74:in `block (2 levels) in define_proxy_method'
./app/services/spot/derivatives/video_derivative_service.rb:44:in `check_premade_derivatives'
./spec/services/spot/derivatives/video_derivatives_service_spec.rb:319:in `block (4 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:365:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `reverse_each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:484:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:505:in `run_before_example'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:261:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:259:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:607:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:116:in `block in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:74:in `report'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:115:in `run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:89:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:71:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:45:in `invoke'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/exe/rspec:4:in `<top (required)>'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:492:in `exec'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:28:in `start'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:37:in `block in <top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:29:in `<top (required)>'
/usr/local/bundle/bin/bundle:23:in `load'
/usr/local/bundle/bin/bundle:23:in `<main>'

Check failure on line 319 in spec/services/spot/derivatives/video_derivatives_service_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test summary

./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#check_premade_derivatives the response is empty should not call rename

#<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
  expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
       got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
Diff:
@@ -1 +1 @@
-[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
+[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

 Please stub a default value first if message might be received with other args as well.
Raw output
Failure/Error: object_list = s3_client.list_objects(bucket: s3_source, prefix: prefix).to_h[:contents]

  #<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
    expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
         got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
  Diff:
  @@ -1 +1 @@
  -[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
  +[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

   Please stub a default value first if message might be received with other args as well. 
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:108:in `block in <module:Support>'
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:117:in `notify_failure'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:348:in `notify'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:332:in `__raise'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:60:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:237:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:221:in `message_received'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:98:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:74:in `block (2 levels) in define_proxy_method'
./app/services/spot/derivatives/video_derivative_service.rb:44:in `check_premade_derivatives'
./spec/services/spot/derivatives/video_derivatives_service_spec.rb:319:in `block (4 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:365:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `reverse_each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:484:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:505:in `run_before_example'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:261:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:259:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:607:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:116:in `block in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:74:in `report'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:115:in `run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:89:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:71:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:45:in `invoke'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/exe/rspec:4:in `<top (required)>'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:492:in `exec'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:28:in `start'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:37:in `block in <top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:29:in `<top (required)>'
/usr/local/bundle/bin/bundle:23:in `load'
/usr/local/bundle/bin/bundle:23:in `<main>'

Check failure on line 271 in spec/services/spot/derivatives/audio_derivatives_service_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test summary

./spec/services/spot/derivatives/audio_derivatives_service_spec.rb.Spot::Derivatives::AudioDerivativeService#check_premade_derivatives the response is empty should not call rename

#<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
  expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
       got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
Diff:
@@ -1 +1 @@
-[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
+[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

 Please stub a default value first if message might be received with other args as well.
Raw output
Failure/Error: object_list = s3_client.list_objects(bucket: s3_source, prefix: prefix).to_h[:contents]

  #<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
    expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
         got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
  Diff:
  @@ -1 +1 @@
  -[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
  +[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

   Please stub a default value first if message might be received with other args as well. 
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:108:in `block in <module:Support>'
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:117:in `notify_failure'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:348:in `notify'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:332:in `__raise'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:60:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:237:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:221:in `message_received'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:98:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:74:in `block (2 levels) in define_proxy_method'
./app/services/spot/derivatives/audio_derivative_service.rb:43:in `check_premade_derivatives'
./spec/services/spot/derivatives/audio_derivatives_service_spec.rb:271:in `block (4 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:365:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `reverse_each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:484:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:505:in `run_before_example'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:261:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:259:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:607:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:116:in `block in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:74:in `report'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:115:in `run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:89:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:71:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:45:in `invoke'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/exe/rspec:4:in `<top (required)>'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:492:in `exec'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:28:in `start'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:37:in `block in <top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:29:in `<top (required)>'
/usr/local/bundle/bin/bundle:23:in `load'
/usr/local/bundle/bin/bundle:23:in `<main>'

Check failure on line 271 in spec/services/spot/derivatives/audio_derivatives_service_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test summary

./spec/services/spot/derivatives/audio_derivatives_service_spec.rb.Spot::Derivatives::AudioDerivativeService#check_premade_derivatives the response is empty

#<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
  expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
       got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
Diff:
@@ -1 +1 @@
-[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
+[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

 Please stub a default value first if message might be received with other args as well.
Raw output
Failure/Error: object_list = s3_client.list_objects(bucket: s3_source, prefix: prefix).to_h[:contents]

  #<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
    expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
         got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
  Diff:
  @@ -1 +1 @@
  -[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
  +[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

   Please stub a default value first if message might be received with other args as well. 
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:108:in `block in <module:Support>'
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:117:in `notify_failure'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:348:in `notify'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:332:in `__raise'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:60:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:237:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:221:in `message_received'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:98:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:74:in `block (2 levels) in define_proxy_method'
./app/services/spot/derivatives/audio_derivative_service.rb:43:in `check_premade_derivatives'
./spec/services/spot/derivatives/audio_derivatives_service_spec.rb:271:in `block (4 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:365:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `reverse_each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:484:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:505:in `run_before_example'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:261:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:259:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:607:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:116:in `block in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:74:in `report'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:115:in `run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:89:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:71:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:45:in `invoke'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/exe/rspec:4:in `<top (required)>'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:492:in `exec'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:28:in `start'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:37:in `block in <top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:29:in `<top (required)>'
/usr/local/bundle/bin/bundle:23:in `load'
/usr/local/bundle/bin/bundle:23:in `<main>'

Check failure on line 255 in spec/services/spot/derivatives/audio_derivatives_service_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test summary

./spec/services/spot/derivatives/audio_derivatives_service_spec.rb.Spot::Derivatives::AudioDerivativeService#check_premade_derivatives the response is not empty should call rename

#<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
  expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
       got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
Diff:
@@ -1 +1 @@
-[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
+[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

 Please stub a default value first if message might be received with other args as well.
Raw output
Failure/Error: object_list = s3_client.list_objects(bucket: s3_source, prefix: prefix).to_h[:contents]

  #<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
    expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
         got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
  Diff:
  @@ -1 +1 @@
  -[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
  +[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

   Please stub a default value first if message might be received with other args as well. 
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:108:in `block in <module:Support>'
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:117:in `notify_failure'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:348:in `notify'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:332:in `__raise'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:60:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:237:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:221:in `message_received'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:98:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:74:in `block (2 levels) in define_proxy_method'
./app/services/spot/derivatives/audio_derivative_service.rb:43:in `check_premade_derivatives'
./spec/services/spot/derivatives/audio_derivatives_service_spec.rb:255:in `block (4 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:365:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `reverse_each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:484:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:505:in `run_before_example'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:261:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:259:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:607:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:116:in `block in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:74:in `report'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:115:in `run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:89:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:71:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:45:in `invoke'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/exe/rspec:4:in `<top (required)>'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:492:in `exec'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:28:in `start'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:37:in `block in <top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:29:in `<top (required)>'
/usr/local/bundle/bin/bundle:23:in `load'
/usr/local/bundle/bin/bundle:23:in `<main>'

Check failure on line 255 in spec/services/spot/derivatives/audio_derivatives_service_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test summary

./spec/services/spot/derivatives/audio_derivatives_service_spec.rb.Spot::Derivatives::AudioDerivativeService#check_premade_derivatives the response is not empty

#<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
  expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
       got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
Diff:
@@ -1 +1 @@
-[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
+[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

 Please stub a default value first if message might be received with other args as well.
Raw output
Failure/Error: object_list = s3_client.list_objects(bucket: s3_source, prefix: prefix).to_h[:contents]

  #<InstanceDouble(Aws::S3::Client) (anonymous)> received :list_objects with unexpected arguments
    expected: ({:bucket=>"ldr-imports", :prefix=>"example_derivative"})
         got: ({:bucket=>"ldr-imports", :prefix=>"example/example_derivative"})
  Diff:
  @@ -1 +1 @@
  -[{:bucket=>"ldr-imports", :prefix=>"example_derivative"}]
  +[{:bucket=>"ldr-imports", :prefix=>"example/example_derivative"}]

   Please stub a default value first if message might be received with other args as well. 
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:108:in `block in <module:Support>'
./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support.rb:117:in `notify_failure'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:348:in `notify'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:332:in `__raise'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/error_generator.rb:60:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:237:in `raise_missing_default_stub_error'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/proxy.rb:221:in `message_received'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:98:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked'
./vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.6/lib/rspec/mocks/method_double.rb:74:in `block (2 levels) in define_proxy_method'
./app/services/spot/derivatives/audio_derivative_service.rb:43:in `check_premade_derivatives'
./spec/services/spot/derivatives/audio_derivatives_service_spec.rb:255:in `block (4 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:365:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `reverse_each'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:484:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:505:in `run_before_example'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:261:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:457:in `instance_exec'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:390:in `execute_with'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:352:in `call'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb:486:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:259:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:642:in `run_examples'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:607:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `map'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:116:in `block in run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:74:in `report'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:115:in `run_specs'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:89:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:71:in `run'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:45:in `invoke'
./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/exe/rspec:4:in `<top (required)>'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:492:in `exec'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/cli.rb:28:in `start'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:37:in `block in <top (required)>'
/usr/local/bundle/gems/bundler-2.4.19/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/bundle/gems/bundler-2.4.19/exe/bundle:29:in `<top (required)>'
/usr/local/bundle/bin/bundle:23:in `load'
/usr/local/bundle/bin/bundle:23:in `<main>'