summaryrefslogtreecommitdiffstats
path: root/spec/spec/image.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec/image.js')
-rwxr-xr-xspec/spec/image.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec/image.js b/spec/spec/image.js
index e3efcc2..a764265 100755
--- a/spec/spec/image.js
+++ b/spec/spec/image.js
@@ -137,13 +137,13 @@ describe('Image', function() {
describe('scale()', function() {
it('should scale the element universally with one argument', function() {
- var box = image.scale(2).bbox()
+ var box = image.scale(2).tbox()
expect(box.width).toBe(image.attr('width') * 2)
expect(box.height).toBe(image.attr('height') * 2)
})
it('should scale the element over individual x and y axes with two arguments', function() {
- var box = image.scale(2, 3.5).bbox()
+ var box = image.scale(2, 3.5).tbox()
expect(box.width).toBe(image.attr('width') * 2)
expect(box.height).toBe(image.attr('height') * 3.5)