Sha256: 9538f16ad28eb6cea757c6e9c46a53b875b04b446a76cb4c6d95cd0bdb640127

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 Bytes

Contents

require 'minitest_helper'
require 'json'
require 'fantasyhub/feed/downloader'

describe Fantasyhub::Feed::Downloader do
  describe "download(uid)" do
    subject { Fantasyhub::Feed::Downloader.download("tenderlove") }
    it "must download the activity json for a user" do
      VCR.use_cassette("tenderlove_activity_feed") do
        assert JSON.parse(subject)[0].has_key?("actor"), "The reponse in invalid"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fantasyhub-1.0.1 test/fantasyhub/feed/downloader_test.rb