Sha256: 85a11434f9bc8054f526769a8e7900d7d6d53f77e594571ca7af1c002a85e239
Contents?: true
Size: 548 Bytes
Versions: 3
Compression:
Stored size: 548 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
you_got_listed-0.7.2 | spec/you_got_listed/accounts_spec.rb |
you_got_listed-0.7.1 | spec/you_got_listed/accounts_spec.rb |
you_got_listed-0.7.0 | spec/you_got_listed/accounts_spec.rb |