Skip to content

Commit

Permalink
remove raise_in_transactional_callbacks deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorganIO committed May 15, 2016
1 parent b3fd8d7 commit 4c2d056
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/paranoia_test.rb
Expand Up @@ -4,7 +4,6 @@
require 'paranoia'

test_framework = defined?(MiniTest::Test) ? MiniTest::Test : MiniTest::Unit::TestCase
ActiveRecord::Base.raise_in_transactional_callbacks = true if ActiveRecord::VERSION::STRING >= '4.2'

def connect!
ActiveRecord::Base.establish_connection :adapter => 'sqlite3', database: ':memory:'
Expand Down

0 comments on commit 4c2d056

Please sign in to comment.