Sha256: 00e633d41c3b294a3bcaa5cee29c1a8f42c2b8a7c851232bba7c0c830875f6e4
Contents?: true
Size: 544 Bytes
Versions: 12
Compression:
Stored size: 544 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) require File.expand_path('../../resource_test', __FILE__) module MeducationSDK class VoteTest < ResourceTest test_resource(Vote, '/votes') def test_item_calls_sdk vote = Vote.new(item_id: 2, item_type: "MediaFile") MeducationSDK::MediaFile.expects(:find).with(2) vote.item end def test_item_calls_sdk vote = Vote.new(item_id: 2, item_type: "MediaFile") MeducationSDK::MediaFile.expects(:find).with(2) vote.item end end end
Version data entries
12 entries across 12 versions & 1 rubygems