Sha256: 6954975b4d165d69ca21ddbc9ed7252074deeb313d36d6cb07f13aebab438450

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 Bytes

Contents

require 'spec_helper'

describe 'stratify-github' do
  use_vcr_cassette 'github'

  it 'collects and stores events from GitHub', :database => true do
    collector = Stratify::GitHub::Collector.create!(:username => 'daemianmack')
    collector.run

    Stratify::GitHub::Activity.where(
      :actor => 'daemianmack',
      :event_type => 'ForkEvent',
      :url => 'https://github.com/daemianmack/stratify'
    ).should exist
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stratify-github-0.1 spec/stratify-github/integration_spec.rb