Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 2cd7be8

Browse files
Francisjuliemr
Francis
authored andcommitted
docs(tutorial): update spec name
Updated the "angularjs homepage" spec name to the "Protractor Demo App" given the context of what each assertion tests.
1 parent 34f0eeb commit 2cd7be8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: docs/tutorial.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Copy the following into spec.js:
4444

4545
```javascript
4646
// spec.js
47-
describe('angularjs homepage', function() {
47+
describe('Protractor Demo App', function() {
4848
it('should have a title', function() {
4949
browser.get('http://juliemr.github.io/protractor-demo/');
5050

@@ -80,7 +80,7 @@ Now let's modify the test to interact with elements on the page. Change spec.js
8080

8181
```js
8282
// spec.js
83-
describe('angularjs homepage', function() {
83+
describe('Protractor Demo App', function() {
8484
it('should add one and two', function() {
8585
browser.get('http://juliemr.github.io/protractor-demo/');
8686
element(by.model('first')).sendKeys(1);
@@ -116,7 +116,7 @@ Let's put these two tests together and clean them up a bit. Change spec.js to th
116116

117117
```js
118118
// spec.js
119-
describe('angularjs homepage', function() {
119+
describe('Protractor Demo App', function() {
120120
var firstNumber = element(by.model('first'));
121121
var secondNumber = element(by.model('second'));
122122
var goButton = element(by.id('gobutton'));
@@ -192,7 +192,7 @@ Sometimes, you will want to deal with a list of multiple elements. You can do th
192192

193193
```js
194194
// spec.js
195-
describe('angularjs homepage', function() {
195+
describe('Protractor Demo App', function() {
196196
var firstNumber = element(by.model('first'));
197197
var secondNumber = element(by.model('second'));
198198
var goButton = element(by.id('gobutton'));

0 commit comments

Comments
 (0)