RSpec is the king of the BDD hill when it comes to Rails, and the learning curve is quite steep. For Windows developers hooked on CHM documentation, it’s very easy to generate RSpec CHM files by running the command
rdoc -f chm -o chm_folder rspec*
in the
/vendor/plugins
directory of your RoR project where you have installed the RSpec and RSpec on Rails plugins using
ruby script/plugin install http://rspec.rubyforge.org/svn/tags/CURRENT/rspec ruby script/plugin install http://rspec.rubyforge.org/svn/tags/CURRENT/rspec_on_rails
as described on the RSpec home page.
The resulting CHM is not the prettiest but it’s fully searchable and easier to use than sifting through the online rdocs in your browser.
Recent Comments