Sha256: 0e6df64e33478f42d7eed2dccce5a07b9797379ff1e543d7401237cf4b18137a

Contents?: true

Size: 361 Bytes

Versions: 4

Compression:

Stored size: 361 Bytes

Contents

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

module MeducationSDK
  class ExamRoomPracticeExamTest < ResourceTest
    test_resource(ExamRoomPracticeExam, '/practice_exams')

    def test_user_calls_sdk
      exam = ExamRoomPracticeExam.new(user_id: 5)
      MeducationSDK::User.expects(:find).with(5)
      exam.user
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
meducation_sdk-2.2.2 test/resources/exam_room_practice_exam_test.rb
meducation_sdk-2.2.1 test/resources/exam_room_practice_exam_test.rb
meducation_sdk-2.2.0 test/resources/exam_room_practice_exam_test.rb
meducation_sdk-2.1.4 test/resources/exam_room_practice_exam_test.rb