class ActiveRecord::Base

Allow RSpec specs to use transactional fixtures when using Watir.

Tip from blog.plataformatec.com.br/2011/12/three-tips-to-improve-the-performance-of-your-test-suite/

Public Class Methods

connection() click to toggle source
# File lib/watir/rspec/active_record_shared_connection.rb, line 12
def connection
  @@shared_connection_semaphore.synchronize do
    @@shared_connection ||= retrieve_connection
  end
end