File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,12 @@ I'm in a hurry. How do I get a Hello World module working?
45
45
};
46
46
});
47
47
</file>
48
+
49
+ <file name="protractor.js" type="protractor">
50
+ it('should add Hello to the name', function() {
51
+ expect(element(by.binding("{{ 'World' | greet }}")).getText()).toEqual('Hello, World!');
52
+ });
53
+ </file>
48
54
</example>
49
55
50
56
Important things to notice:
@@ -75,7 +81,7 @@ The above is a suggestion. Tailor it to your needs.
75
81
<example module='xmpl'>
76
82
<file name="index.html">
77
83
<div ng-controller="XmplController">
78
- {{ greeting }}!
84
+ {{ greeting }}
79
85
</div>
80
86
</file>
81
87
@@ -117,6 +123,13 @@ The above is a suggestion. Tailor it to your needs.
117
123
});
118
124
119
125
</file>
126
+
127
+ <file name="protractor.js" type="protractor">
128
+ it('should add Hello to the name', function() {
129
+ expect(element(by.binding("{{ greeting }}")).getText()).toEqual('Bonjour World!');
130
+ });
131
+ </file>
132
+
120
133
</example>
121
134
122
135
You can’t perform that action at this time.
0 commit comments