Sha256: 3ffaaa4778f29e8710aa1e5c4417a86fbc57728d19cdd13b2d12acd21cc562c1

Contents?: true

Size: 322 Bytes

Versions: 34

Compression:

Stored size: 322 Bytes

Contents

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

module MeducationSDK
  class BloggerTest < ResourceTest
    test_resource(Blogger, '/bloggers')

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

Version data entries

34 entries across 34 versions & 1 rubygems

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