Sha256: 313822f649b977ac147c089f10d941128c48e55937e8b68fd55c9c1f6a9f79db
Contents?: true
Size: 570 Bytes
Versions: 12
Compression:
Stored size: 570 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) require File.expand_path('../../resource_test', __FILE__) module MeducationSDK class CommentTest < ResourceTest test_resource(Comment, '/comments') def test_item_calls_sdk comment = Comment.new(item_id: 2, item_type: "MediaFile") MeducationSDK::MediaFile.expects(:find).with(2) comment.item end def test_item_calls_sdk comment = Comment.new(item_id: 2, item_type: "MediaFile") MeducationSDK::MediaFile.expects(:find).with(2) comment.item end end end
Version data entries
12 entries across 12 versions & 1 rubygems