Sha256: a3d2d2dbba37e65b59e1532ac9ed1424ae089f4b3964dcf440b691c3e7479989
Contents?: true
Size: 536 Bytes
Versions: 8
Compression:
Stored size: 536 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) require File.expand_path('../../resource_test', __FILE__) module MeducationSDK class BoardTest < ResourceTest test_resource(Board, '/boards') def test_owner_calls_sdk board = Board.new(owner_id: 2, owner_type: "Group") MeducationSDK::Group.expects(:find).with(2) board.owner end def test_created_by_calls_sdk board = Board.new(created_by_id: 2) MeducationSDK::User.expects(:find).with(2) board.created_by end end end
Version data entries
8 entries across 8 versions & 1 rubygems