Created
March 26, 2011 07:34
-
-
Save BRIMIL01/888104 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def test_twitter_send | |
update_text = "Test Twitter Text" | |
Twitter.expects(:configure) | |
u = Factory(:user) | |
a = Factory(:authorization, :user => u) | |
log_in(u, a.uid) | |
fill_in "text", :with => update_text | |
check("tweeted") | |
click_button "Share" | |
assert_match /Update created/, page.body | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment