Sha256: a37a3384fb8589e30566cd54bd8bd023093f79b74749a1853e7c393d8a9f9523
Contents?: true
Size: 373 Bytes
Versions: 7
Compression:
Stored size: 373 Bytes
Contents
require_relative '../test_helper' require_relative '../resource_test' module MeducationSDK class UserDiscountCodeTest < ResourceTest test_resource(UserDiscountCode, '/user_discount_codes') def test_user_calls_sdk discount_code = UserDiscountCode.new(user_id: 2) MeducationSDK::User.expects(:find).with(2) discount_code.user end end end
Version data entries
7 entries across 7 versions & 1 rubygems