RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: HannesBenson
You can still use transactional fixtures if you do the following in your spec helper file:
ActiveRecord::ConnectionAdapters::ConnectionPool.class_eval do def current_connection_id # Thread.current.object_id Thread.main.object_id end end
As per:
http://blog.yakitara.com/2011/03/use-transactionalfixtures-with-capybara.html
You can still use transactional fixtures if you do the following in your spec helper file:
As per:
http://blog.yakitara.com/2011/03/use-transactionalfixtures-with-capybara.html