We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P3.0, released 22 days ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
4

#76415: Footnote 3

h..p://behaviour-driven.org/

displays :

502 Bad Gateway

--Bernard Kaiflin

P2.0
16-Feb-14
8

#51603: "When the team write their acceptance tests collaboratively"
should be either:
- "the team writes"
or
- "teams write"--Sean P. DeNigris

P2.0
24-May-13
19
#53252: The book suggest to write this Then /^The output should be "([^"]*)"$/ do |expected_output| @output.should == expected_output #pend...more...
P2.0
30-Nov-13
25 13

#76558: You should point out that "show-guests" needs to come =before= "home", otherwise "home" will not be able to see "show-guests"!--Blake Watson

P2.0
21-Mar-14
28

#53187: Tocino grueso! (Chunky Bacon!) should be Tocino grueso! (Thick Bacon!). Thick bacon is the proper spanish/english translation.

Rick Flores--Rick Flores

P2.0
20-Nov-13
34
#50216: According to google translate the word regnskapsførerere does not have an english counterpart. When I remove the last "re" it appears to be a...more...
P1.0
27-Nov-12
69

#76438: Error 404 for footnote 2 h..p://cukes.info/cucumber/api/ruby/latest/Cucumber/Ast/Table.html--Bernard Kaiflin

P2.0
18-Feb-14
78

#50121: "they're a reading"--Trevor Harmon

P1.0
02-Nov-12
96

#50122: "with an features"--Trevor Harmon

P1.0
02-Nov-12
122
#76487: Missing code when adding instance variable. Error: @my_account.balance.should eq(amount),"Expected the balance to be #{amount}" Should b...more...
P2.0
06-Mar-14
124

#76439: Error 404 for footnote 1 h..p://cukes.info/cucumber/api/ruby/latest/Cucumber/RbSupport/RbWorld.html
--Bernard Kaiflin

P2.0
19-Feb-14
148

#49928: broken linkto github for Cucumber::Ast::Scenario at the bottom of the page (footnote [4])
--Iain Wood

P1.0
06-Oct-12
151
#50455: Quick note before description - I wasnt able to select the correct version of the book, the one i am reading is P2.0 August 2012. Just fini...more...
P1.0
10-Jan-13
151
#50397: Cucumber scenario always fails when using RackTest driver and the following tag: <button type="submit">Withdraw</button> Possible workaround...more...
P1.0
19-Dec-12
231-2

#52494: There is a list that spans from page 231-2 and "config/cucumber.yml" is the first and last thing in the list, but with different descriptions. --Anna Carey

P2.0
29-Aug-13
231
#50266: Just after adding the necessary gems in the Gemfile there is the command to generate the cucumber files and folders with cucumber:install: ...more...
P1.0
05-Dec-12
231
#50271: Should the javascript runtime environment gems should also be added to the Gemfile? If not there is the following error message: ~/.rvm/ge...more...
P1.0
05-Dec-12
232
#56865: With newer FactoryGirl : Download rails/02/features/step_definitions/user_steps.rb Given /^there is a User$/ do FactoryGirl.create(:user)<...more...
P2.0
24-Dec-13
236

#52498: FactoryGirl is a gem and has no gender. Please don't personify it in your writing. "poor old FactoryGirl complains that she doesn’t know..."--Anna Carey

P2.0
29-Aug-13
245

#51558: The test examples in Chapter 15, as printed, keep complaining of a Mass Assignment Error. Therefore, we never actually see it working :)--Brett Giles

P2.0
22-May-13
248
#51485: code snippet capybara/00/features/step_definitions/user_steps.rb at page 248 is Wrong: Error line: message_attrs.merge({:user => user}) ...more...
P2.0
09-May-13
251

#50227: Book says:

so all we need to add is a field with a name="criteria" attribute

"criteria" should be "query" ?
--Perry Smith

P1.0
02-Dec-12
253
#50228: Page 253-254 has a code snippet split across a page break. With your formatting tools, can you give some weight to not breaking code snippets...more...
P1.0
02-Dec-12
260
#50823: This is the chapter on testing javascript enabled web pages. The examples all print with the error: Can’t mass-assign protected attributes:...more...
P2.0
14-Feb-13
261
#50229: The "Running Capybara Against Non-Ruby Applications" box... Does this imply that you could point app_host to your staging or even your prod...more...
P1.0
02-Dec-12
267
#51206: As of Capybara 2.0, a call to _find_ gives an _ambiguous match_ error when more than one element is found in the page. Because of that, using ...more...
P1.0
03-Apr-13
268
#51545: Capybara 2.0 results in an _ambiguous match_ error when find('ol.results li') is called (as reported in erratum 51206. An easier fix than the ...more...
P2.0
19-May-13