Browse files

doc re: webrat/capybara

  • Loading branch information...
1 parent af7846b commit beb9fb9e80b53df44d73ad7b12fea343aac9de69 @dchelimsky dchelimsky committed Aug 10, 2010
Showing with 17 additions and 2 deletions.
  1. +10 −2 README.markdown
  2. +7 −0 Upgrade.markdown
@@ -29,8 +29,16 @@ This will expose generators, including rspec:install. Now you can run:
This adds the spec directory and some skeleton files, including
the "rake spec" task.
-Note that things are in flux, so some generators generate code that
-doesn't work all that well yet.
+### Webrat and Capybara
+You can choose between webrat or capybara for simulating a browser, automating
+a browser, or setting expectations using the matchers they supply. Just add
+your preference to the Gemfile:
+ gem "webrat"
+ gem "capybara"
+Note that Capybara matchers are not available in view or helper specs.
## Living on edge
@@ -1,3 +1,10 @@
+# Changes in beta.20
+### Webrat or Capybara
+rspec-rails-2.0.0.beta.20 removes the dependency and offers you a choice of
+using webrat or capybara. Just add the library of your choice to your Gemfile.
# Upgrade to rspec-rails-2
## Controller specs

0 comments on commit beb9fb9

Please sign in to comment.