Permalink
Browse files

print loaded resque/delayed_job gem spec versions

  • Loading branch information...
1 parent d63636d commit 116d9782054017075a520f3856043a121dce8858 @kares committed Nov 1, 2012
Showing with 6 additions and 0 deletions.
  1. +3 −0 src/test/ruby/delayed/jruby_worker_test.rb
  2. +3 −0 src/test/ruby/resque/jruby_worker_test.rb
@@ -1,6 +1,9 @@
require File.expand_path('test_helper', File.dirname(__FILE__) + '/..')
require 'delayed/jruby_worker'
+gem_spec = Gem.loaded_specs['delayed_job']
+puts "loaded gem 'delayed_job' '#{gem_spec.version.to_s}'" if gem_spec
+
module Delayed
class JRubyWorkerTest < Test::Unit::TestCase
@@ -1,6 +1,9 @@
require File.expand_path('test_helper', File.dirname(__FILE__) + '/..')
require 'resque/jruby_worker'
+gem_spec = Gem.loaded_specs['resque']
+puts "loaded gem 'resque' '#{gem_spec.version.to_s}'" if gem_spec
+
module Resque
class JRubyWorkerTest < Test::Unit::TestCase

0 comments on commit 116d978

Please sign in to comment.