Skip to content

Commit

Permalink
Incorporate rails/rails@191ae49
Browse files Browse the repository at this point in the history
  • Loading branch information
lorint committed Aug 5, 2023
1 parent c85a2b2 commit 8b3bf15
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ class ActiveRecord::ConnectionAdapters::TrilogyAdapterTest < TestCase
end

test "#supports_json answers true without Maria DB and greater version" do
assert @adapter.supports_json?
@adapter.stub(:mariadb?, false) do
assert_equal true, @adapter.supports_json?
end
end

test "#supports_json answers false without Maria DB and lesser version" do
Expand Down

0 comments on commit 8b3bf15

Please sign in to comment.