From 1fdcc61fd4be46289be94e047cfc5adcd2c35bd8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Apr 2024 09:44:51 -0500 Subject: [PATCH] Bump aws-sdk-kms from 1.79.0 to 1.80.0 (#16516) * Bump aws-sdk-kms from 1.79.0 to 1.80.0 Bumps [aws-sdk-kms](https://github.com/aws/aws-sdk-ruby) from 1.79.0 to 1.80.0. - [Release notes](https://github.com/aws/aws-sdk-ruby/releases) - [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-kms/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-ruby/commits) --- updated-dependencies: - dependency-name: aws-sdk-kms dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Updated simple forms flaky test --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: RachalCassity --- Gemfile.lock | 4 ++-- .../spec/services/pdf_filler_spec.rb | 16 +++++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index c04f6789745..71be4a47622 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -249,8 +249,8 @@ GEM aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.79.0) - aws-sdk-core (~> 3, >= 3.191.0) + aws-sdk-kms (1.80.0) + aws-sdk-core (~> 3, >= 3.193.0) aws-sigv4 (~> 1.1) aws-sdk-s3 (1.148.0) aws-sdk-core (~> 3, >= 3.193.0) diff --git a/modules/simple_forms_api/spec/services/pdf_filler_spec.rb b/modules/simple_forms_api/spec/services/pdf_filler_spec.rb index 982b9f0a158..a227e85aa76 100644 --- a/modules/simple_forms_api/spec/services/pdf_filler_spec.rb +++ b/modules/simple_forms_api/spec/services/pdf_filler_spec.rb @@ -34,15 +34,17 @@ describe '#generate' do forms.each do |file_name| - context "when mapping the pdf data given JSON file: #{file_name}" do - let(:expected_pdf_path) { map_pdf_data(file_name) } + ActiveRecord::Base.transaction do + context "when mapping the pdf data given JSON file: #{file_name}" do + let(:expected_pdf_path) { map_pdf_data(file_name) } - # remove the pdf if it already exists - after { FileUtils.rm_f(expected_pdf_path) } + # remove the pdf if it already exists + after { FileUtils.rm_f(expected_pdf_path) } - context 'when a legitimate JSON payload is provided' do - it 'properly fills out the associated PDF' do - expect(File.exist?(expected_pdf_path)).to eq(true) + context 'when a legitimate JSON payload is provided' do + it 'properly fills out the associated PDF' do + expect(File.exist?(expected_pdf_path)).to eq(true) + end end end end