Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed grammar mistakes (repeated words) in a few tests #450

Merged
merged 1 commit into from
Sep 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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