Sha256: 3d7e04d5c0cc9179a293a89dfbce77b47d597f228f2b482163fe180756a832da
Contents?: true
Size: 562 Bytes
Versions: 10
Compression:
Stored size: 562 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe YouGotListed::Accounts do before do @ygl = new_ygl @accounts = YouGotListed::Accounts.new(@ygl) end context "search" do before do VCR.use_cassette('accounts.search') do @response = @accounts.search end end it "should be a success" do @response.success?.should be_true end it "should set accounts on the response" do @response.ygl_response.accounts.should be_kind_of(Hashie::Rash) end end end
Version data entries
10 entries across 10 versions & 1 rubygems