Sha256: 8325cd46de344dffd6ed6102de357a40d6994d1a02ff1c1f4bbd09c8a7df1f6c
Contents?: true
Size: 474 Bytes
Versions: 1
Compression:
Stored size: 474 Bytes
Contents
require 'spec_helper' describe Hatsrank::Marketable do let(:url) { 'http://steamcommunity.com/market/listings/440/Unusual%20Bombing%20Run' } let(:client) { Hatsrank::Client.new } let(:hat) { Hatsrank::Marketable.new client, url } describe '#listings' do let(:hat_list) { 'hats' } before do client.should_receive(:listings).and_return hat_list end it 'calls hats from the client' do hat.listings.should == hat_list end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hatsrank-0.0.1 | spec/hatsrank/marketable_spec.rb |