Skip to content

Commit

Permalink
Fixed grammar misakes (repeated words) in a few tests (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
RTLcoil committed Sep 13, 2020
1 parent 54f433a commit acc844e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/integration/api/admin/api_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ describe("api", function () {
expect(firstDelete).to.have.property("deleted");
expect(secondDelete).to.have.property("deleted");

// Get the versions versions of the deleted asset
// Get the versions of the deleted asset
const getVersionsResp = await API_V2.resource(PUBLIC_ID_BACKUP_1, { versions: true });

const firstAssetVersion = getVersionsResp.versions[0].version_id;
Expand Down
4 changes: 2 additions & 2 deletions test/integration/api/uploader/uploader_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ describe("uploader", function () {
spy.restore();
return xhr.restore();
});
it("should should pass the invalidate value in rename to the server", function () {
it("should pass the invalidate value in rename to the server", function () {
cloudinary.v2.uploader.rename("first_id", "second_id", {
invalidate: true
});
Expand Down Expand Up @@ -905,7 +905,7 @@ describe("uploader", function () {
xhr.restore();
});
describe(":invalidate", function () {
it("should should pass the invalidate value to the server", function () {
it("should pass the invalidate value to the server", function () {
cloudinary.v2.uploader.explicit("cloudinary", {
type: "twitter_name",
eager: [
Expand Down
2 changes: 1 addition & 1 deletion test/unit/cloudinary_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ describe("cloudinary", function () {
expect(options).to.eql({});
expect(result).to.eql("http://res.cloudinary.com/test123/image/upload/fn_remote:aHR0cHM6Ly9kZjM0cmE0YS5leGVjdXRlLWFwaS51cy13ZXN0LTIuYW1hem9uYXdzLmNvbS9kZWZhdWx0L2Nsb3VkaW5hcnlGdW5jdGlvbg/test");
});
it('should should not include custom function with undefined value', function () {
it('should not include custom function with undefined value', function () {
var options, result;
options = {
custom_function: undefined
Expand Down
2 changes: 1 addition & 1 deletion test/utils/utils_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ describe("utils", function () {
type: "fetch"
}, `http://res.cloudinary.com/${cloud_name}/image/fetch/http://blah.com/hello%3Fa%3Db`, {});
});
it("should should escape http urls", function () {
it("should escape http urls", function () {
test_cloudinary_url("http://www.youtube.com/watch?v=d9NF2edxy-M", {
type: "youtube"
}, `http://res.cloudinary.com/${cloud_name}/image/youtube/http://www.youtube.com/watch%3Fv%3Dd9NF2edxy-M`, {});
Expand Down

0 comments on commit acc844e

Please sign in to comment.