Skip to content

Commit

Permalink
fix test for jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
ujifgc committed May 11, 2016
1 parent 131921f commit 97d9877
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions padrino-support/test/test_support_lite.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

it 'should be able to process a the class name given a block' do
klasses = ObjectSpace.classes do |klass|
next unless klass.respond_to?(:name) # fix JRuby < 1.7.22
if klass.name =~ /^Padrino::/
klass
end
Expand Down

0 comments on commit 97d9877

Please sign in to comment.