File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/imagekit/api_service Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 963963 expect ( @ac [ :url ] ) . to eq ( "https://api.imagekit.io/v1/files/copy" )
964964 expect ( @ac [ :payload ] ) . to eq ( "{\" sourceFilePath\" :\" test/dummy.png\" ,\" destinationPath\" :\" /my_image\" ,\" includeFileVersions\" :false}" )
965965 expect ( resp [ :code ] ) . to eq ( 200 )
966- resp = @sut . copy ( source_file_path : source_file , destination_path : destination_path , include_folder_versions : true )
967- expect ( @ac [ :payload ] ) . to eq ( "{\" sourceFilePath\" :\" test/dummy.png\" ,\" destinationPath\" :\" /my_image\" ,\" includeFileVersions\" :false }" )
966+ resp = @sut . copy ( source_file_path : source_file , destination_path : destination_path , include_file_versions : true )
967+ expect ( @ac [ :payload ] ) . to eq ( "{\" sourceFilePath\" :\" test/dummy.png\" ,\" destinationPath\" :\" /my_image\" ,\" includeFileVersions\" :true }" )
968968 expect ( resp [ :code ] ) . to eq ( 200 )
969969 end
970970 end
You can’t perform that action at this time.
0 commit comments