spec/resource_spec.rb in infoblox-0.2.17 vs spec/resource_spec.rb in infoblox-0.2.18
- old
+ new
@@ -69,10 +69,10 @@
f._ref.should eq('abcdefg')
end
it 'should map wapi objects to classes' do
@expected = {}
- ObjectSpace.each_object(Class) do |p|
+ ObjectSpace.each_object(Class) do |p|
if p < Infoblox::Resource
@expected[p.wapi_object] = p
end
end
Infoblox::Resource.resource_map.should eq(@expected)