From f10cc9b62e6755decd8a4c05644b2f2cb14e4739 Mon Sep 17 00:00:00 2001 From: Kosuke Tanabe Date: Sun, 18 Aug 2024 23:04:05 +0900 Subject: [PATCH] fix spec file --- spec/routing/picture_files_routing_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/routing/picture_files_routing_spec.rb b/spec/routing/picture_files_routing_spec.rb index 5908b54a3..6bf278ac9 100644 --- a/spec/routing/picture_files_routing_spec.rb +++ b/spec/routing/picture_files_routing_spec.rb @@ -35,7 +35,7 @@ end it "routes to #download" do - expect(get: "/picture_files/1/download").to route_to("picture_files#download", id: "1") + expect(get: "/picture_files/1/download").to route_to("picture_files#download", picture_file_id: "1") end end end