We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45fa2ea commit f57d1efCopy full SHA for f57d1ef
1 file changed
spec/unit/intercom/traits/api_resource_spec.rb
@@ -13,7 +13,7 @@
13
"user_count"=>1,
14
"custom_attributes"=>{}}
15
end
16
- let(:api_resource) { Object.new.extend(Intercom::Traits::ApiResource)}
+ let(:api_resource) { DummyClass.new.extend(Intercom::Traits::ApiResource)}
17
18
before(:each) { api_resource.from_response(object_json) }
19
@@ -80,4 +80,6 @@ def except(h, *keys)
80
keys.each { |key| h.delete(key) }
81
h
82
83
+
84
+ class DummyClass; end
85
0 commit comments