Skip to content

Commit 518cdf8

Browse files
committed
fix test case
1 parent 97b7fe5 commit 518cdf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/imagekit/api_service/file_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -963,8 +963,8 @@
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

0 commit comments

Comments
 (0)