Created
August 10, 2010 21:24
-
-
Save vdichev/518049 to your computer and use it in GitHub Desktop.
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
for { | |
login <- get("/account/verify_credentials.xml", httpClient, Nil) | |
!@ "Failed to log in" | |
message <- login.post("/statuses/update.xml", "status" -> "test_msg1") | |
!@ "Couldn't post message" | |
xml <- message.xml | |
} { | |
// Specs' xml matcher | |
xml must \\(<text>test_msg1</text>) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment