Sha256: f96d5720b5dca1b1452382d215040d1bd3a89c4184753dc71cbe3d27945b7fde

Contents?: true

Size: 401 Bytes

Versions: 34

Compression:

Stored size: 401 Bytes

Contents

require_relative '../test_helper'
require_relative '../resource_test'

module MeducationSDK
  class MessageThreadContributorTest < ResourceTest
    test_resource(MessageThreadContributor, '/message_thread_contributors')

    def test_user_calls_sdk
      contributer = MessageThreadContributor.new(user_id: 3)
      MeducationSDK::User.expects(:find).with(3)
      contributer.user
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
meducation_sdk-1.6.10 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.6.6 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.6.5 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.6.4 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.6.3 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.6.2 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.6.1 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.6.0 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.5.7 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.5.6 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.5.5 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.5.4 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.5.3 test/resources/message_thread_contributor_test.rb
meducation_sdk-1.5.2 test/resources/message_thread_contributor_test.rb