Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paranoia
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paranoia
Commits
4c2d0566
Unverified
Commit
4c2d0566
authored
May 15, 2016
by
Ben A. Morgan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove raise_in_transactional_callbacks deprecation warning
parent
b3fd8d73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
+0
-1
test/paranoia_test.rb
+0
-1
No files found.
test/paranoia_test.rb
View file @
4c2d0566
...
@@ -4,7 +4,6 @@ require 'minitest/autorun'
...
@@ -4,7 +4,6 @@ require 'minitest/autorun'
require
'paranoia'
require
'paranoia'
test_framework
=
defined?
(
MiniTest
::
Test
)
?
MiniTest
::
Test
:
MiniTest
::
Unit
::
TestCase
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!
def
connect!
ActiveRecord
::
Base
.
establish_connection
:adapter
=>
'sqlite3'
,
database:
':memory:'
ActiveRecord
::
Base
.
establish_connection
:adapter
=>
'sqlite3'
,
database:
':memory:'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment