Skip to content

Commit

Permalink
fix failing specs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamis committed Oct 17, 2024
1 parent fa61d03 commit 2aac92d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/mongoid/clients/options_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
let(:options) { { database: 'other' } }

it 'sets the options on the client' do
expect(persistence_context.client.options['database']).to eq(options[:database])
expect(persistence_context.client.options['database'].to_s).to eq(options[:database].to_s)
end

it 'does not set the options on class level' do
Expand Down Expand Up @@ -319,7 +319,7 @@
end

it 'sets the options on the client' do
expect(persistence_context.client.options['database']).to eq(options[:database])
expect(persistence_context.client.options['database'].to_s).to eq(options[:database].to_s)
end

it 'does not set the options on instance level' do
Expand Down

0 comments on commit 2aac92d

Please sign in to comment.