Sha256: 546ca93e1c379ed9476326a298830233effa63cea87dfd6cc5c0a65b80e6dfdb
Contents?: true
Size: 428 Bytes
Versions: 1
Compression:
Stored size: 428 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) require File.expand_path('../../resource_test', __FILE__) module MeducationSDK class CollectionTopicTest < ResourceTest test_resource(CollectionTopic, '/collection_topics') def test_comments_calls_sdk topic = CollectionTopic.new(comment_ids: [7,8,9]) MeducationSDK::Comment.expects(:where).with(id: [7,8,9]) topic.comments end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
meducation_sdk-1.2.0 | test/resources/collection_topic_test.rb |