Hello,
I'm trying to learn Mocha and having a bit of problems how to
translate some of my tests to the mocha world.
For example - I'm trying to convert this simple test:
[code]
def test_get_feed_details_w_bad_url
assert_incomplete_test
get :feed_widget_details, :k =>
'e6efb203a1cdebcf5a7406175924fe9991979f68', :id => artists(:first).id
assert_response :success
assert_equal WEB_SERVER + '/controller/rss/blog/artist_1',
assigns(:blog_url)
assert_include '<title type="text">No blog entries</title>',
@response.body
end
[code]
What would be the mocha form of this?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Deploying Rails" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---