test/resources/view_test.rb in meducation_sdk-1.6.1 vs test/resources/view_test.rb in meducation_sdk-1.6.2
- old
+ new
@@ -1,10 +1,10 @@
require_relative '../test_helper'
require_relative '../resource_test'
module MeducationSDK
class ViewTest < ResourceTest
- test_resource(View, '/view')
+ test_resource(View, '/views')
def test_item_calls_sdk
view = View.new(user_id: 30660, item_id: 2, item_type: "MediaFile")
MeducationSDK::MediaFile.expects(:find).with(2)
view.item