aboutsummaryrefslogtreecommitdiffstats
path: root/test/service/autoScrollSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/service/autoScrollSpec.js')
-rw-r--r--test/service/autoScrollSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/service/autoScrollSpec.js b/test/service/autoScrollSpec.js
index 86a47f50..4f4dd0e2 100644
--- a/test/service/autoScrollSpec.js
+++ b/test/service/autoScrollSpec.js
@@ -169,12 +169,12 @@ describe('$autoScroll', function() {
});
- it('should not scroll when html5 mode with history api', function() {
+ it('should scroll when html5 mode with history api', function() {
module(initLocation({html5Mode: true, historyApi: true}));
inject(
addElements('id=some'),
changeHashAndDigest('some'),
- expectNoScrolling()
+ expectScrollingTo('id=some')
);
});