-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- more specific error handling for 403 situations
- adds exceptions CantFindUsers, AlreadyFollowing, and CantFollowUser - one rspect test for creating a frienship - need to work out a means to spec the exception throwing, gonna test by hand for now Signed-off-by: John Nunemaker <[email protected]>
- Loading branch information
1 parent
a85cb35
commit 2b85bed
Showing
5 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<hash> | ||
<request>/friendships/create/billymeltdown.xml</request> | ||
<error>Could not follow user: billymeltdown is already on your list.</error> | ||
</hash> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<user> | ||
<id>4243</id> | ||
<name>John Nunemaker</name> | ||
<screen_name>jnunemaker</screen_name> | ||
<location>Indiana</location> | ||
<description>Loves his wife, ruby, notre dame football and iu basketball</description> | ||
<profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/52619256/ruby_enterprise_shirt_normal.jpg</profile_image_url> | ||
<url>http://addictedtonew.com</url> | ||
<protected>false</protected> | ||
<followers_count>363</followers_count> | ||
</user> |