File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed
spec/unit/spark_api/models Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,6 @@ def listing_carts(arguments = {})
45
45
@listing_carts ||= ListingCart . collect ( connection . get ( "/contacts/#{ self . Id } /listingcarts" , arguments ) )
46
46
end
47
47
48
- def messages ( arguments = { } )
49
- @messages ||= Message . collect ( connection . get ( "/contacts/#{ self . Id } /messages" , arguments ) )
50
- end
51
-
52
48
def comments ( arguments = { } )
53
49
@comments ||= Comment . collect ( connection . get ( "/contacts/#{ self . Id } /comments" , arguments ) )
54
50
end
Original file line number Diff line number Diff line change 236
236
237
237
end
238
238
239
- context "/messages" , :support do
240
-
241
- it "should get all of a contact's messages" do
242
- s = stub_api_get ( "/contacts/#{ contact_id } /messages" , "messages/get.json" )
243
- messages = Contact . new ( :Id => contact_id ) . messages
244
- messages . size . should eq ( 2 )
245
- s . should have_been_requested
246
- end
247
- end
248
239
end
249
240
250
241
context "/my/contact" , :support do
You can’t perform that action at this time.
0 commit comments