test/resources/comment_test.rb in meducation_sdk-1.2.5 vs test/resources/comment_test.rb in meducation_sdk-1.2.6

- old
+ new

@@ -9,13 +9,13 @@ 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 + def test_user_calls_sdk + comment = Comment.new(user_id: 2) + MeducationSDK::User.expects(:find).with(2) + comment.user end end end