 
 		it "should not auto size the layer the size the layer if it is explictly set", ->
 			text = new TextLayer
+				fontFamily: "Arial"
 				text: mediumText
 				width: 123
 				height: 456


		it "should auto size the layer the size of the text", ->
			text = new TextLayer
				text: shortText
			text.size.should.eql width: 267, height: 50

		it "should auto size the layer based on the Screen width", ->
			text = new TextLayer
				text: mediumText
			text.width.should.equal Screen.width
			text.height.should.equal 150

		it "should auto size the layer if the width is set explicitly", ->
			text = new TextLayer
				text: mediumText
				width: 100
			text.width.should.equal 100

		it "should auto size the layer based on it's parent", ->
			layer = new Layer width: 150
			text = new TextLayer
				fontFamily: "Arial"
				text: mediumText
				parent: layer
			text.width.should.equal 150
			text.height.should.equal 500

		it "should auto size the layer when its parent is set afterwards", ->
			layer = new Layer width: 150
			text = new TextLayer
				fontFamily: "Arial"
				text: mediumText
			text.parent = layer
			text.width.should.equal 150
			text.height.should.equal 500

		it "should adjust its size on when a new text is set", (done) ->
			text = new TextLayer
				fontFamily: "Arial"
			text.on "change:height", ->
				text.size.should.eql width: 400, height: 2600
				done()
			text.text = longText

