OLD | NEW |
1 <html> | 1 <html> |
2 <link rel="import" href="../resources/mocha.sky" /> | 2 <import src="../resources/mocha.sky" /> |
3 <link rel="import" href="../resources/chai.sky" /> | 3 <import src="../resources/chai.sky" /> |
4 <foo /> | 4 <foo /> |
5 <script> | 5 <script> |
6 describe('Border', function() { | 6 describe('Border', function() { |
7 it('should render', function() { | 7 it('should render', function() { |
8 var foo = document.querySelector('foo'); | 8 var foo = document.querySelector('foo'); |
9 foo.setAttribute('style', 'border: 1px solid red'); | 9 foo.setAttribute('style', 'border: 1px solid red'); |
10 assert.equal(foo.style.border, '1px solid rgb(255, 0, 0)'); | 10 assert.equal(foo.style.border, '1px solid rgb(255, 0, 0)'); |
11 }); | 11 }); |
12 }); | 12 }); |
13 </script> | 13 </script> |
14 </html> | 14 </html> |
OLD | NEW |