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

Advertisements
This entry was posted in rails, ROR, ruby on rails, web development and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s