mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Use existing png image in specs.
This commit is contained in:
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 4.3 KiB |
@@ -114,7 +114,7 @@ RSpec.describe Import::JiraImportProjectsJob, :webmock do
|
||||
op_entity_id: op_user.id.to_s)
|
||||
end
|
||||
|
||||
let(:attachment_content) { Rails.root.join("spec/fixtures/import/jira/solid-color-image.png").binread }
|
||||
let(:attachment_content) { Rails.root.join("spec/fixtures/files/image.png").binread }
|
||||
|
||||
before do
|
||||
stub_request(:get, "https://jira-software.local/secure/attachment/10000/solid-color-image.png")
|
||||
|
||||
Reference in New Issue
Block a user