Sha256: f64bcc64f5867df44a6d2669da9e1ba218bc2469e22a537ca96e054a1306560e
Contents?: true
Size: 235 Bytes
Versions: 2
Compression:
Stored size: 235 Bytes
Contents
require 'spec_helper' describe HackernewsApi::Client do it 'fetches json from HN API' do VCR.use_cassette('user') do json = described_class.fetch(:user, 'fteem') expect(json['id']).to eq 'fteem' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hackernews_api-0.0.2 | spec/client_spec.rb |
hackernews_api-0.0.1 | spec/client_spec.rb |