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