Sha256: deb70d6231579c9b1740379bd28b79953fe44404a4dd7360e5337e350ecf084b
Contents?: true
Size: 381 Bytes
Versions: 2
Compression:
Stored size: 381 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) require File.expand_path('../../resource_test', __FILE__) module MeducationSDK class MediaFileTest < ResourceTest test_resource(MediaFile, '/media_files') def test_user_calls_sdk media_file = MediaFile.new(user_id: 3) MeducationSDK::User.expects(:find).with(3) media_file.user end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
meducation_sdk-0.2.0 | test/resources/media_file_test.rb |
meducation_sdk-0.1.0 | test/resources/media_file_test.rb |