OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
| 2 <!-- |
| 3 @license |
| 4 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. |
| 5 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
| 7 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 8 Code distributed by Google as part of the polymer project is also |
| 9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 10 --> |
2 | 11 |
3 <html> | 12 <html> |
4 <head> | 13 <head> |
5 <title>app-route 0bserver Test</title> | 14 <title>app-route 0bserver Test</title> |
6 | 15 |
7 <script src="../../webcomponentsjs/webcomponents-lite.js"></script> | 16 <script src="../../webcomponentsjs/webcomponents-lite.js"></script> |
8 <script src="../../web-component-tester/browser.js"></script> | 17 <script src="../../web-component-tester/browser.js"></script> |
9 | 18 |
10 <link rel="import" href="../../polymer/polymer.html"> | 19 <link rel="import" href="../../polymer/polymer.html"> |
11 <link rel="import" href="./observer-tester.html"> | 20 <link rel="import" href="./observer-tester.html"> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 setLocation('/report/1000'); | 58 setLocation('/report/1000'); |
50 sandbox.spy(el,'checkActive'); | 59 sandbox.spy(el,'checkActive'); |
51 setLocation('/menu'); | 60 setLocation('/menu'); |
52 expect(el.checkActive).to.have.been.called.once; | 61 expect(el.checkActive).to.have.been.called.once; |
53 expect(el.checkActive).to.have.been.calledWith(false); | 62 expect(el.checkActive).to.have.been.calledWith(false); |
54 }); | 63 }); |
55 }); | 64 }); |
56 </script> | 65 </script> |
57 </body> | 66 </body> |
58 | 67 |
OLD | NEW |