fix(curriculum): correct test

pull/30687/head
Valeriy 2018-10-26 21:33:34 +03:00 committed by mrugesh mohapatra
parent 1c8ee82d91
commit dc7bb257b9
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ tests:
- text: Your image element should have the class "thick-green-border". - text: Your image element should have the class "thick-green-border".
testString: assert($("img").hasClass("thick-green-border"), 'Your image element should have the class "thick-green-border".'); testString: assert($("img").hasClass("thick-green-border"), 'Your image element should have the class "thick-green-border".');
- text: Your image should have a border radius of <code>10px</code> - text: Your image should have a border radius of <code>10px</code>
testString: assert(parseInt($("img").css("border-top-left-radius")) > 8, 'Your image should have a border radius of <code>10px</code>'); testString: assert($("img").css("border-radius") === '10px', 'Your image should have a border radius of <code>10px</code>');
``` ```
@ -105,7 +105,7 @@ tests:
## Solution ## Solution
<section id='solution'> <section id='solution'>
```js ```html
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style> <style>
.red-text { .red-text {