[rspec-users] Database.truncate_all

Jeff Talbot jeff.a.talbot at gmail.com
Fri Dec 5 09:32:23 EST 2008

There is a seemingly very useful line of code in the cucumber wiki
that I'd like to use:

  After do
    # Scenario teardown

(from http://github.com/aslakhellesoy/cucumber/wikis/migration-from-rspec-stories)

But when I run this I get an uninitialized constant error for "Database".

Anybody know if/how I can make this call? Is there something I need to
require? Is there a different way of doing this now? I have a need to
not use transactional_fixtures for a specific suite of tests and I
want to clear out the database after every run so my tests are


More information about the rspec-users mailing list