Sha256: aa5583f681c568072ae48d9d25d010d98c18d83e72bbf1888f3fbd6150e72f12
Contents?: true
Size: 497 Bytes
Versions: 1
Compression:
Stored size: 497 Bytes
Contents
require 'spec_helper' describe Octogate::Event::Push do describe ".parse" do subject { described_class.parse(push_payload) } it { should be_a described_class } it { expect(subject.ref).to eq "refs/heads/master" } it { expect(subject.commits).to be_a Array } it { expect(subject.commits.first).to be_a Octogate::GH::Commit } it { expect(subject.head_commit).to be_a Octogate::GH::Commit } it { expect(subject.repository).to be_a Octogate::GH::Repository } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
octogate-0.1.0 | spec/lib/octogate/events/push_spec.rb |