test/units/sprites/image_test.rb in compass-0.12.alpha.0 vs test/units/sprites/image_test.rb in compass-0.12.alpha.1
- old
+ new
@@ -50,30 +50,30 @@
test 'no parent' do
assert_nil test_image.parent
end
test 'image type is "global"' do
- image = test_image "ten_by_ten_repeat" => Sass::Script::String.new('global')
+ image = test_image "selectors_ten_by_ten_repeat" => Sass::Script::String.new('global')
assert_equal 'global', image.repeat
end
test 'image type is "no-repeat"' do
assert_equal 'no-repeat', test_image.repeat
end
test 'image position' do
- image = test_image "ten_by_ten_position" => Sass::Script::Number.new(100, ["px"])
+ image = test_image "selectors_ten_by_ten_position" => Sass::Script::Number.new(100, ["px"])
assert_equal 100, image.position.value
end
test 'image spacing' do
@spacing = 10
image = test_image "spacing" => Sass::Script::Number.new(100, ["px"])
assert_equal 100, image.spacing
end
test 'offset' do
- image = test_image "ten_by_ten_position" => Sass::Script::Number.new(100, ["px"])
+ image = test_image "selectors_ten_by_ten_position" => Sass::Script::Number.new(100, ["px"])
assert_equal 100, image.offset
end
test 'neither, uses 0' do
img = test_image