Displaying 2 results from an estimated 2 matches for "article_1".
Did you mean:
article21
2010 Aug 29
0
Troll - A Rails plugin for making webservice mocking easier
...things clearer:
Including the Module in ActiveSupport::TestCase (test_helper.rb),
class ActiveSupport::TestCase
include Troll::TestUnitStuff
end
and setup block of your tests:
http_mock(:post, "/articles.xml",{:times => 1,:body => /frodo/},{:body
=> fixture_file(''article_1.xml''), :status => 201})
More can be found in test directory of plugin and README.
Gotchas:
1. Works only with Test/Unit currently. Patches welcome for RSpec support.
2. Works with Rails 2.3.x only currently, work is underway for Rails3 support.
Code:
http://github.com/gnufied/troll...
2009 Feb 18
14
guides on css strategy
I''m having to design the UI to a small site, and that means dabbling
in css. I''ve never been able to get any kind of decent idea as to how
to decide on classes and id-ing. I''ve had a sniff around the internet
without success: people seem to be as clueless as me. I''ve even
examined the css/markup of a few sites and it hasn''t been
enlightening.
Does