test/helper.rb in active_assets-0.2.3 vs test/helper.rb in active_assets-0.2.4
- old
+ new
@@ -7,25 +7,17 @@
require 'active_assets'
require 'socket'
require 'timeout'
-require 'raster_graphics'
-
TEST_RAILS_ROOT = File.expand_path('../fixtures/rails_root', __FILE__)
Dir[File.expand_path('../support/**/*.rb', __FILE__)].each {|f| load f }
load File.join(TEST_RAILS_ROOT, 'config/application.rb')
class Test::Unit::TestCase
include RailsHelper
-
- include(Module.new do
- def percent_difference(image_1_path, image_2_path)
- Pixmap.open(image_1_path) - Pixmap.open(image_2_path)
- end
- end)
def sprites
Rails.application.sprites
end