You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, only the pre-release version has the multi-db support. If you are using bundler point it to version 0.6.0.rc. Other wise do gem install database_cleaner --pre.
It is a pre-release because I'm waiting on feedback on how well it works. So please let me know how it works for you.
I have in my cuke env.rb...
DatabaseCleaner[:active_record, {:connection => :test}].strategy = :truncation
DatabaseCleaner[:active_record, {:connection => :test_security}].strategy = :truncation
but every time I try to run cucumber it does...
undefined method `[]' for DatabaseCleaner:Module (NoMethodError)
/Users/andy/gits/sdbpg/features/support/env.rb:34
unfortunate as your test cases show this type of code working, am I doing something wrong?
The text was updated successfully, but these errors were encountered: