aboutsummaryrefslogtreecommitdiffstats
path: root/src/markups.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/markups.js')
-rw-r--r--src/markups.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/markups.js b/src/markups.js
index 75329169..b7761857 100644
--- a/src/markups.js
+++ b/src/markups.js
@@ -187,7 +187,7 @@ angularTextMarkup('option', function(text, textNode, parentElement){
expect(element('#link-3').attr('href')).toBe("/123");
element('#link-3').click();
- expect(browser().location().path()).toEqual('/123');
+ expect(browser().window().path()).toEqual('/123');
});
it('should execute ng:click but not reload when href empty string and name specified', function() {
@@ -207,7 +207,7 @@ angularTextMarkup('option', function(text, textNode, parentElement){
expect(element('#link-6').attr('href')).toBe("/6");
element('#link-6').click();
- expect(browser().location().path()).toEqual('/6');
+ expect(browser().window().path()).toEqual('/6');
});
</doc:scenario>
</doc:example>