diff options
Diffstat (limited to 'spec/spec/text.js')
-rw-r--r-- | spec/spec/text.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec/text.js b/spec/spec/text.js index 0d72a91..c98e4d5 100644 --- a/spec/spec/text.js +++ b/spec/spec/text.js @@ -99,7 +99,7 @@ describe('Text', function() { describe('size()', function() { it('should define the width and height of the element', function() { text.size(50) - expect(text.style('font-size')).toBe(50) + expect(text.style('font-size').valueOf()).toBe(50) }) }) |