Skip to content

Commit

Permalink
Fix documentation for javascript clean strategy
Browse files Browse the repository at this point in the history
The code uses truncation as the default so that comment in the cucumber
feature is wrong. For more information on the default strategy see for
example cucumber#182.
  • Loading branch information
betelgeuse committed Jul 31, 2012
1 parent 624110c commit 4aec8db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions features/choose_javascript_database_strategy.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ Feature: Choose javascript database strategy
your database, but you run the risk of the two threads stomping on one another as they
talk to the database.

Right now, the default behavior which works for 80% of cucumber-rails users is to use
the shared connection patch, but you can override this by telling cucumber-rails which
strategy to use for javascript scenarios.
Right now, the default behavior is to use truncation, but you can override this by telling
cucumber-rails which strategy to use for javascript scenarios.

The deletion strategy can be quicker for situations where truncation causes locks which
has been reported by some Oracle users.
Expand Down

0 comments on commit 4aec8db

Please sign in to comment.