Skip to content

Commit

Permalink
docs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
DavertMik committed Nov 24, 2015
1 parent 8bb722e commit 216d547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ In this case 'User is valid' string will be searched only inside elements locate
In case you need to return a value from a webpage and use it directly in test, you should use methods with `grab` prefix.
They are expected to be used inside a generator functions, and their results will be available in test:
```
```js
var assert = require('assert');

Feature('CodeceptJS Demonstration');
Expand Down Expand Up @@ -215,7 +215,7 @@ Before((I) => { // or Background
});

Scenario('test some forms', (I, docsPage) => {
docsPage.sendForm('hello@world.com','123456);
docsPage.sendForm('hello@world.com','123456');
I.see('User is valid');
I.dontSeeInCurrentUrl('/documentation');
});
Expand Down

0 comments on commit 216d547

Please sign in to comment.