1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Give anonymous class a name for debugging

This commit is contained in:
Sandro Turriate 2010-07-07 08:55:51 -04:00
parent d018df223c
commit 3f093c0e65

View file

@ -416,6 +416,9 @@ describe HTTParty do
before(:each) do
@parent = Class.new do
include HTTParty
def self.name
"Parent"
end
end
@child1 = Class.new(@parent)