Sha256: 56f3cbb43cff9f5e19b12222929056a117bd084fda4ed12f430503b23d5e01e1

Contents?: true

Size: 573 Bytes

Versions: 8

Compression:

Stored size: 573 Bytes

Contents

require 'helper'

describe Octospy::Parser do
  include_context :parser_params

  describe '#parse_gollum_event' do
    let(:event_name) { 'gollum_event' }
    before { parser.instance_variable_set(:@event, event) }

    subject { parser.parse_gollum_event }

    it { expect(subject[:status]).to eq 'edited the component/component wiki' }
    it { expect(subject[:title]).to eq 'Components' }
    it { expect(subject[:body]).to be_nil }
    it { expect(subject[:link]).to eq 'https://github.com/component/component/wiki/Components/_compare/3df147%5E...3df147' }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
octospy-0.0.8 spec/octospy/parser/wiki_spec.rb
octospy-0.0.7 spec/octospy/parser/wiki_spec.rb
octospy-0.0.6 spec/octospy/parser/wiki_spec.rb
octospy-0.0.5 spec/octospy/parser/wiki_spec.rb
octospy-0.0.4 spec/octospy/parser/wiki_spec.rb
octospy-0.0.3 spec/octospy/parser/wiki_spec.rb
octospy-0.0.2 spec/octospy/parser/wiki_spec.rb
octospy-0.0.1 spec/octospy/parser/wiki_spec.rb