Lines Matching refs:width
42 image_item.width = nil
43 assert_nil(image_item.width)
45 width = 10
46 image_item.width = width
47 assert_equal(width, image_item.width)
49 width = 10.0
50 image_item.width = width
51 assert_equal(width, image_item.width)
53 width = "10"
54 image_item.width = width
55 assert_equal(width.to_i, image_item.width)
57 width = "10.0"
58 assert_not_available_value("image:width", width) do
59 image_item.width = width
63 width = "10.0"
64 image_item.width = width
65 assert_equal(width.to_i, image_item.width)
67 image_item.width = nil
68 assert_nil(image_item.width)