let(:one_user){{'people'=>{'person'=>{"ixPerson"=>"2","sFullName"=>"James"}}}}let(:two_users){{'people'=>{'person'=>[one_user,{"ixPerson"=>"3"}]}}}it'retrieves user_map with one user'dostub_api(one_user)expect(client.user_map.count).toeq(1)endit'retrieves user_map with two users'dostub_api(two_users)expect(client.user_map.count).toeq(2)enddefstub_api(users)allow_any_instance_of(::Fogbugz::Interface).toreceive(:command).with(:listPeople).and_return(users)endend