Maintenance: Fixed wrong fixture image path in selenium test.

This commit is contained in:
Dominik Klein 2022-04-22 10:20:32 +02:00
parent 339807b0a0
commit bb7ff179ed

View file

@ -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