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-2.2.2 test/resources/blogger_test.rb
meducation_sdk-2.2.1 test/resources/blogger_test.rb
meducation_sdk-2.2.0 test/resources/blogger_test.rb
meducation_sdk-2.1.4 test/resources/blogger_test.rb
meducation_sdk-2.1.3 test/resources/blogger_test.rb
meducation_sdk-2.1.2 test/resources/blogger_test.rb
meducation_sdk-2.1.1 test/resources/blogger_test.rb
meducation_sdk-2.1.0 test/resources/blogger_test.rb
meducation_sdk-2.0.5 test/resources/blogger_test.rb
meducation_sdk-2.0.4 test/resources/blogger_test.rb
meducation_sdk-2.0.3 test/resources/blogger_test.rb
meducation_sdk-2.0.2 test/resources/blogger_test.rb
meducation_sdk-2.0.1 test/resources/blogger_test.rb
meducation_sdk-2.0.0 test/resources/blogger_test.rb
meducation_sdk-1.6.16 test/resources/blogger_test.rb
meducation_sdk-1.6.15 test/resources/blogger_test.rb
meducation_sdk-1.6.14 test/resources/blogger_test.rb
meducation_sdk-1.6.13 test/resources/blogger_test.rb
meducation_sdk-1.6.12 test/resources/blogger_test.rb
meducation_sdk-1.6.11 test/resources/blogger_test.rb