 
 		result.should.not.equal -1
 
-	it "should use the deviceImage string as is for custom devices", ->
+	it "should use the deviceImage string as is for custom devices when not in Studio", ->
 
 		comp = new DeviceComponent()
 


		comp.deviceType.should.equal "test"
		comp._deviceImageUrl(comp._deviceImageName()).should.eql "images/framer-icon.png"

		comp = new DeviceComponent()
		comp.deviceType.should.equal "iphone-5s-spacegray"

	it "should use images on server for built in devices when not in Studio", ->

		comp = new DeviceComponent()
		localUrl = "resources.framerjs.com/static/DeviceResources/"
