# RSpec Apotomo *Spec your widgets!* [![Build Status](https://secure.travis-ci.org/apotonick/rspec-apotomo.png)](http://travis-ci.org/apotonick/rspec-apotomo) This gem allows you to test widgets with [Apotomo](http://apotomo.de) via RSpec. Works with Rails 3.x and RSpec 2. # Installation In your Rails `Gemfile` add this line: ``` group :test do gem 'rspec-apotomo' end ``` # Usage Put specs in the `spec/widgets` directory. *TODO Add the generator and generator docs.* An example spec could look like the following code. ``` describe CommentsWidget do has_widgets do |root| root << widget(:comments) end it 'renders properly' do render_widget(:comments).should == "