diff options
| author | Vojta Jina | 2012-01-12 02:29:26 -0800 |
|---|---|---|
| committer | Vojta Jina | 2012-01-13 01:01:26 -0800 |
| commit | 249c89c0911254873c68cd753d903ea5606344ac (patch) | |
| tree | ee89b4d54ce20eabcaad625debbc0b282afdee74 /test | |
| parent | 5164ae545b10723b4e9ec454f436f6698dc93e24 (diff) | |
| download | angular.js-249c89c0911254873c68cd753d903ea5606344ac.tar.bz2 | |
fix($autoScroll): scroll even if $location is in html5 mode
+ use autoscroll in docs (ng:include)
Diffstat (limited to 'test')
| -rw-r--r-- | test/service/autoScrollSpec.js | 4 |
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') ); }); |
