Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

print loaded resque/delayed_job gem spec versions

  • Loading branch information...
commit 116d9782054017075a520f3856043a121dce8858 1 parent d63636d
@kares authored
View
3  src/test/ruby/delayed/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
View
3  src/test/ruby/resque/jruby_worker_test.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.