mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Change deprecated file path upload path syntax in enterprises_controller_spec
This commit is contained in:
@@ -75,7 +75,7 @@ describe Api::V0::EnterprisesController, type: :controller do
|
||||
end
|
||||
|
||||
describe "submitting a valid image" do
|
||||
let!(:logo) { fixture_file_upload("files/logo.png", "image/png") }
|
||||
let!(:logo) { fixture_file_upload("logo.png", "image/png") }
|
||||
before do
|
||||
allow(Enterprise)
|
||||
.to receive(:find_by).with({ permalink: enterprise.id.to_s }) { enterprise }
|
||||
|
||||
Reference in New Issue
Block a user