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:
parent
d018df223c
commit
3f093c0e65
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue