Monthly Archives: April 2012

Webrat – how to use

1)gem install ‘webrat’ 2)in Gemfile add group :test do gem ‘webrat’ end 3)in spec_helper.rbĀ  add Webrat.configure do |config| config.mode = :rails end ref 1) http://www.arailsdemo.com/posts/37 2) https://getsatisfaction.com/railstutorial/topics/rspec_undefined_method_has_selector http://www.klairvoyant.in

Posted in rails, ROR, ruby on rails, web development | Tagged , , , | Leave a comment