Sha256: 858c41474107ed946682fb6674c9462f9854951b85ab970d3ca766cef8eaa3b2

Contents?: true

Size: 521 Bytes

Versions: 6

Compression:

Stored size: 521 Bytes

Contents

require 'spec_helper'

RSpec.describe PortalConnectors::PullRequestClient do
  def client
    PortalConnectors::PullRequestClient.singleton
  end

  describe "#submit_sprint_hours", vcr: true do
    def params
      {
        user_email: "admin@remitano.com",
        external_id: 2,
        start_day: "2020-08-04",
        end_day: "2020-08-07",
        working_hours: 27.74
      }
    end

    it "returns true" do
      result, ok = client.submit_sprint_hours(params)
      expect(ok).to be_truthy
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
portal-connectors-0.58.39xc spec/lib/portal-connectors/pull_request_client_spec.rb
portal-connectors-0.58.39xb spec/lib/portal-connectors/pull_request_client_spec.rb
portal-connectors-0.58.39xa spec/lib/portal-connectors/pull_request_client_spec.rb
portal-connectors-0.58.39fj spec/lib/portal-connectors/pull_request_client_spec.rb
portal-connectors-0.58.39fg spec/lib/portal-connectors/pull_request_client_spec.rb
portal-connectors-0.58.38xn spec/lib/portal-connectors/pull_request_client_spec.rb