Sha256: b86a4f1990e8b6739a5d601f1f85e2e8f61ee8c31b057ed0b594bdfa80235f10

Contents?: true

Size: 737 Bytes

Versions: 36

Compression:

Stored size: 737 Bytes

Contents

require "bard/ci/github_actions"

describe Bard::CLI::CI::GithubActions do
  subject { described_class.new("metrc", "master", "0966308e204b256fdcc11457eb53306d84884c60") }

  xit "works" do
    subject.run
  end
end

describe Bard::CLI::CI::GithubActions::API do
  subject { described_class.new("metrc") }

  describe "#last_successful_run" do
    xit "has #time_elapsed" do
      run = subject.last_successful_run
      run.time_elapsed
    end

    xit "has #console" do
      subject.last_successful_run.console
    end
  end

  describe "#create_run!" do
    xit "returns a run" do
      subject.create_run! "master"
    end
  end
end

describe Bard::CLI::CI::GithubActions::Client do
  subject { described_class.new("metrc") }
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
bard-0.54.0 spec/bard/ci/github_actions_spec.rb
bard-0.53.0 spec/bard/ci/github_actions_spec.rb
bard-0.52.2 spec/bard/ci/github_actions_spec.rb
bard-0.52.1 spec/bard/ci/github_actions_spec.rb
bard-0.52.0 spec/bard/ci/github_actions_spec.rb
bard-0.51.2 spec/bard/ci/github_actions_spec.rb
bard-0.51.1 spec/bard/ci/github_actions_spec.rb
bard-0.51.0 spec/bard/ci/github_actions_spec.rb
bard-0.50.5 spec/bard/ci/github_actions_spec.rb
bard-0.50.4 spec/bard/ci/github_actions_spec.rb
bard-0.50.3 spec/bard/ci/github_actions_spec.rb
bard-0.50.2 spec/bard/ci/github_actions_spec.rb
bard-0.50.1 spec/bard/ci/github_actions_spec.rb
bard-0.50.0 spec/bard/ci/github_actions_spec.rb
bard-0.49.0 spec/bard/ci/github_actions_spec.rb
bard-0.48.1 spec/bard/ci/github_actions_spec.rb