Skip to content

Commit

Permalink
Fix activerecord trilogy adapter config override test
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianna-chang-shopify committed Feb 13, 2023
1 parent dac1b75 commit 25a9030
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/adapters/activerecord_trilogy_adapter_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,10 @@ def test_semian_can_be_disabled
end

def test_adapter_does_not_modify_config
config = @configuration.merge(config_overrides)
assert(@configuration.key?(:semian))
TrilogyAdapter.new(@configuration)

assert(config.key?(:semian))
TrilogyAdapter.new(config)

assert(config.key?(:semian))
assert(@configuration.key?(:semian))
end

def test_unconfigured
Expand Down

0 comments on commit 25a9030

Please sign in to comment.