spec/support/image_helpers.rb in sqed-0.0.3 vs spec/support/image_helpers.rb in sqed-0.0.4

- old
+ new

@@ -3,11 +3,11 @@ BASE_PATH = '../files/' class << self def get_image(file_name) - Image.read(File.expand_path(BASE_PATH + file_name, __FILE__)).first + Magick::Image.read(File.expand_path(BASE_PATH + file_name, __FILE__)).first end # Images def test0_image @@ -66,10 +66,10 @@ def left_t_yellow get_image 'boundary_left_t_yellow.jpg' end def of_size(width = 1024, height = 768) - Image.new(width, height) { + Magick::Image.new(width, height) { self.background_color = 'white' } end end