Navigation Menu

Skip to content

Commit

Permalink
Update Readme section about Capybara.app
Browse files Browse the repository at this point in the history
One of users [had a problem with it recently](http://stackoverflow.com/q/15665106/841064)
  • Loading branch information
abotalov committed Mar 27, 2013
1 parent 4772f50 commit 8bae811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -29,13 +29,13 @@ To install, type
gem install capybara gem install capybara
``` ```


If you are using Rails, add this line to your test helper file: If application that you test is Rails app, add this line to your test helper file:


```ruby ```ruby
require 'capybara/rails' require 'capybara/rails'
``` ```


If you are not using Rails, set Capybara.app to your rack app: If application that you test is Rack (but not Rails) app, set Capybara.app to your rack app:


```ruby ```ruby
Capybara.app = MyRackApp Capybara.app = MyRackApp
Expand Down

0 comments on commit 8bae811

Please sign in to comment.