fixed problem with path and ree/1.8.7 in test case
This commit is contained in:
parent
3d4ddca76a
commit
5cd4136676
@ -46,8 +46,8 @@ module SpriteHelper
|
||||
URI = "selectors/*.png"
|
||||
|
||||
def init_sprite_helper
|
||||
@images_src_path = File.join(File.dirname(__FILE__), 'fixtures', 'sprites', 'public', 'images')
|
||||
@images_tmp_path = File.join(File.dirname(__FILE__), 'fixtures', 'sprites', 'public', 'images-tmp')
|
||||
@images_src_path = File.join(File.expand_path('../', __FILE__), 'fixtures', 'sprites', 'public', 'images')
|
||||
@images_tmp_path = File.join(File.expand_path('../', __FILE__), 'fixtures', 'sprites', 'public', 'images-tmp')
|
||||
end
|
||||
|
||||
def sprite_map_test(options, uri = URI)
|
||||
|
@ -19,7 +19,7 @@ class SpriteCommandTest < Test::Unit::TestCase
|
||||
|
||||
def config_data
|
||||
return <<-CONFIG
|
||||
images_path = #{@images_tmp_path.inspect}
|
||||
images_path = "#{@images_tmp_path}"
|
||||
CONFIG
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user