Skip to content

Commit

Permalink
These tests require isolation to avoid polluting the global namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
rzane committed Dec 3, 2024
1 parent 12ea6b5 commit 32ae295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/boba/active_record/attribute_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module ActiveRecord
class AttributeServiceSpec < ::Minitest::Spec
extend T::Sig
include Tapioca::Helpers::Test::Content
include Tapioca::Helpers::Test::Isolation

before do
::ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
Expand Down
1 change: 1 addition & 0 deletions spec/boba/active_record/reflection_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module ActiveRecord
class ReflectionServiceSpec < ::Minitest::Spec
extend T::Sig
include Tapioca::Helpers::Test::Content
include Tapioca::Helpers::Test::Isolation

before do
::ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
Expand Down

0 comments on commit 32ae295

Please sign in to comment.