test/resources/comment_test.rb in meducation_sdk-0.9.0 vs test/resources/comment_test.rb in meducation_sdk-0.10.0
- old
+ new
@@ -8,8 +8,14 @@
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