Sha256: 20dde3d85f13f60ef00e690fea7764ca20834016016a779e7daa8e27ebcc135e

Contents?: true

Size: 262 Bytes

Versions: 29

Compression:

Stored size: 262 Bytes

Contents

unless defined?(ActiveRecord::StatementInvalid)
  module ActiveRecord
    class StatementInvalid < StandardError
    end
  end
end

class FakeDeadlockError
  def self.new
    ActiveRecord::StatementInvalid.new("Deadlock found when trying to get lock")
  end
end

Version data entries

29 entries across 29 versions & 4 rubygems

Version Path
jason-o-matic-deep_test-1.2.2.1 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.10 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.11 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.12 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.13 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.14 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.2 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.3 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.4 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.5 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.6 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.7 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.8 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.9 test/fake_deadlock_error.rb
jperkins-deep_test-1.2.2 test/fake_deadlock_error.rb
jason-o-matic-deep_test-1.2.2.15 test/fake_deadlock_error.rb
jstorimer-deep-test-2.0.0 infrastructure/fake_deadlock_error.rb
jstorimer-deep-test-1.4.0 test/fake_deadlock_error.rb
jstorimer-deep-test-1.3.0 test/fake_deadlock_error.rb
jstorimer-deep-test-1.2.0 test/fake_deadlock_error.rb