Sha256: b87986d6d50e979e30739092d16f321e9549dd7dcc51fd8042b8a8ca882f8044

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

require 'spec_helper'
require 'scrutinizer/ocular/api_client'

describe Scrutinizer::Ocular::ApiClient do

  client = Scrutinizer::Ocular::ApiClient.new(
    "https://scrutinizer-ci.com/api",
    "g/scrutinizer-ci/scrutinizer",
    "abcdef",
    ["abc123", "def456"],
    nil
  )

  it "uploads coverage data" do
    client.upload("rb-cc", "abcdef")
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scrutinizer-ocular-1.0.1 spec/scrutinizer/ocular/api_client_spec.rb
scrutinizer-ocular-1.0.0 spec/scrutinizer/ocular/api_client_spec.rb