Sha256: e57f2541f92f2c0deb55bf16a77f166900c41a617230d49e510f1db2ebe331d8
Contents?: true
Size: 500 Bytes
Versions: 34
Compression:
Stored size: 500 Bytes
Contents
require_relative '../test_helper' require_relative '../resource_test' 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
34 entries across 34 versions & 1 rubygems