Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5ac6af2

Browse filesBrowse files
committed
update test
1 parent 94aff69 commit 5ac6af2
Copy full SHA for 5ac6af2

File tree

Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed

‎projects/angular-cld/src/lib/cloudinary.service.spec.ts

Copy file name to clipboardExpand all lines: projects/angular-cld/src/lib/cloudinary.service.spec.ts
+5-4Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('Cloudinary service', () => {
2323
});
2424

2525
it('updates the configuration', () => {
26-
26+
2727
const newConfig: CloudinaryConfiguration = {
2828
cloud_name: 'new-service-test'
2929
};
@@ -48,14 +48,15 @@ describe('Cloudinary service', () => {
4848
});
4949

5050
it('creates an image url', () => {
51-
const publicId = 'image_public_id.jpg';
52-
const options = {
51+
const publicId = 'image_public_id.jpg';
52+
53+
const options = {
5354
width: '100',
5455
crop: 'fill',
5556
responsive: true
5657
};
5758
expect(service.url(publicId, options)).toEqual(
58-
'http://res.cloudinary.com/service-test/image/upload/c_fill,w_100/image_public_id.jpg');
59+
'http://res.cloudinary.com/new-service-test/image/upload/c_fill,w_100/image_public_id.jpg');
5960
});
6061

6162
describe('isJsonLikeString', () => {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.