Skip to content

Commit

Permalink
Print out which identify
Browse files Browse the repository at this point in the history
  • Loading branch information
codycooperross committed Jan 14, 2025
1 parent 0f0b2d7 commit c5f4253
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions spec/models/provider_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@

it "with logo" do
pp Paperclip.options
output = `which identify`
puts "OUTPUT: #{output}"
subject.logo =
"data:image/png;base64," +
Base64.strict_encode64(file_fixture("bl.png").read)
Expand Down
3 changes: 2 additions & 1 deletion spec/requests/providers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@
it "creates a provider" do
post "/providers", params, headers
pp Paperclip.options

output = `which identify`
puts "OUTPUT: #{output}"
expect(last_response.status).to eq(200)
expect(json.dig("data", "attributes", "name")).to eq("British Library")
expect(json.dig("data", "attributes", "systemEmail")).to eq(
Expand Down

0 comments on commit c5f4253

Please sign in to comment.