Sha256: 095f4bbab9091c5b54f91516d4ca93bd8adeda34d8094e095dfc4932a0d4d780

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

$:.unshift 'lib'
$LOAD_PATH << File.dirname(__FILE__)

require 'helper'
require 'upwork/api/routers/graphql'
require 'test/unit'
require 'mocha/test_unit'

class GraphqlTest < Test::Unit::TestCase
  include TestHelper
  
  def test_execute
    api = Upwork::Api::Routers::Graphql.new(get_client_mock)
    assert api.execute({'query': 'query{}'})
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-upwork-oauth2-2.3.0 test/test_graphql.rb
ruby-upwork-oauth2-2.2.0 test/test_graphql.rb