mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-02 02:50:16 +01:00
the project description could now contain markup, like notes
also configure database_cleaner for selenium features
This commit is contained in:
parent
25204f5efa
commit
c433661048
9 changed files with 60 additions and 9 deletions
|
|
@ -5,3 +5,17 @@ Webrat.configure do |config|
|
|||
end
|
||||
|
||||
Cucumber::Rails::World.use_transactional_fixtures = false
|
||||
|
||||
require 'database_cleaner'
|
||||
|
||||
# clean the database once when starting
|
||||
DatabaseCleaner.clean_with :truncation
|
||||
DatabaseCleaner.strategy = :truncation
|
||||
|
||||
Before do
|
||||
DatabaseCleaner.start
|
||||
end
|
||||
|
||||
After do
|
||||
DatabaseCleaner.clean
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue