We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7a00b4 commit a1fff55Copy full SHA for a1fff55
1 file changed
spec/database_cleaner/active_record/base_spec.rb
@@ -62,7 +62,7 @@ module ActiveRecord
62
allow(::ActiveRecord::Base)
63
.to receive(:configurations).and_return(ac_db_configurations_mock)
64
allow(ac_db_configurations_mock)
65
- .to receive(:configs_for).with(name: my_db.to_s).and_return(hash_config_mock)
+ .to receive(:configs_for).with({ name: my_db.to_s }).and_return(hash_config_mock)
66
end
67
68
let(:ac_db_configurations_mock) do
0 commit comments