Sha256: 40ecbd428953eab04010ec27bf17d74cad30b490fa1f9a9082babacf330dce53
Contents?: true
Size: 496 Bytes
Versions: 2
Compression:
Stored size: 496 Bytes
Contents
require 'spec_helper' describe Socialcastr::User do describe '.search' do context 'when passed a valid email' do before :each do fake_socialcast_api_for(:user) end it "should return a user object" do Socialcastr::User.search("emily@socialcast.com").class.should == Socialcastr::User end it "should return a well parsed user " do Socialcastr::User.search("emily@socialcast.com").name.should == "Emily James" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
socialcastr-0.2.19 | spec/user_spec.rb |
socialcastr-0.2.18 | spec/user_spec.rb |