Skip to content

Commit

Permalink
Merge pull request #58 from lorint/rails_commit_191ae49
Browse files Browse the repository at this point in the history
Incorporate Rails commit 191ae49
  • Loading branch information
bensheldon authored Aug 12, 2023
2 parents db3d9f9 + 8b3bf15 commit f8a37b8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,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 f8a37b8

Please sign in to comment.