Maintenance: Fixed wrong fixture image path in selenium test.
This commit is contained in:
parent
339807b0a0
commit
bb7ff179ed
1 changed files with 1 additions and 1 deletions
|
@ -2618,7 +2618,7 @@ RSpec.describe 'Ticket zoom', type: :system do
|
||||||
let(:ticket) { create(:ticket, group: Group.find_by(name: 'Users')) }
|
let(:ticket) { create(:ticket, group: Group.find_by(name: 'Users')) }
|
||||||
|
|
||||||
let(:image_as_base64) do
|
let(:image_as_base64) do
|
||||||
file = File.binread(Rails.root.join('spec/fixtures/files/image/squares.png'))
|
file = File.binread(Rails.root.join('spec/fixtures/image/squares.png'))
|
||||||
Base64.encode64(file).delete("\n")
|
Base64.encode64(file).delete("\n")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue