Skip to content

Commit

Permalink
Update features/support/env for latest cucumber
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed Feb 25, 2010
1 parent 9243d41 commit a3465df
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions features/support/env.rb
Expand Up @@ -8,14 +8,12 @@
require File.expand_path(File.dirname(__FILE__) + '/../../../../../config/environment')

require 'cucumber/formatter/unicode' # Remove this line if you don't want Cucumber Unicode support
require 'cucumber/rails/rspec'
require 'cucumber/rails/world'
require 'cucumber/rails/active_record'
require 'cucumber/web/tableish'

require 'webrat'
require 'webrat/core/matchers'
require 'cucumber/webrat/element_locator' # Deprecated in favor of #tableish - remove this line if you don't use #element_at or #table_at

Webrat.configure do |config|
config.mode = :rails
Expand Down Expand Up @@ -51,5 +49,4 @@
# How to clean your database when transactions are turned off. See
# http://github.com/bmabey/database_cleaner for more info.
require 'database_cleaner'
DatabaseCleaner.strategy = :truncation

DatabaseCleaner.strategy = :truncation

0 comments on commit a3465df

Please sign in to comment.