Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix typo in readme: 'click_buton' to 'click_button' #490

Merged
merged 1 commit into from

2 participants

@reidreid46

I was following the readme for implementing request specs and when trying to use the 'click_buton' method I received a Method Not Found error. Turns out there's a typo in the readme, the methos is 'click_button' (two t's). Thought I'd update the document so that other didn't encounter any confusion.

@dchelimsky dchelimsky merged commit 89d6ef1 into rspec:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 21, 2012
  1. @reidreid46
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -134,7 +134,7 @@ describe "home page" do
visit "/login"
fill_in "Username", :with => "jdoe"
fill_in "Password", :with => "secret"
- click_buton "Log in"
+ click_button "Log in"
page.should have_selector(".header .username", :text => "jdoe")
end
Something went wrong with that request. Please try again.