File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
ruby_event_store-active_record/spec Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ module ActiveRecord
28
28
29
29
record = repository . read ( specification . result ) . first
30
30
expect ( record . data ) . to eq ( { "foo" => "bar" } )
31
+
31
32
expect (
32
33
::ActiveRecord ::Base
33
34
. connection
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ def serializer
24
24
def run_lifecycle
25
25
establish_database_connection
26
26
load_database_schema
27
+ reset_column_information
27
28
yield
28
29
ensure
29
30
drop_database
@@ -64,6 +65,10 @@ def has_connection_pooling?
64
65
def connection_pool_size
65
66
::ActiveRecord ::Base . connection . pool . size
66
67
end
68
+
69
+ def reset_column_information
70
+ ::ActiveRecord ::Base . reset_column_information
71
+ end
67
72
end
68
73
end
69
74
You can’t perform that action at this time.
0 commit comments