Skip to content

Commit

Permalink
[Automated] Merged master into target k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
va-vsp-bot committed Apr 26, 2024
2 parents 0b8221e + 1fdcc61 commit 275c337
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Expand Up @@ -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)
Expand Down
16 changes: 9 additions & 7 deletions modules/simple_forms_api/spec/services/pdf_filler_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 275c337

Please sign in to comment.