spec/mongoid/criteria/queryable/selector_spec.rb in mongoid-6.4.8 vs spec/mongoid/criteria/queryable/selector_spec.rb in mongoid-7.0.0.beta
- old
+ new
@@ -368,14 +368,14 @@
end
context "when providing an array" do
let(:big_one) do
- BigDecimal("1.2321")
+ BigDecimal.new("1.2321")
end
let(:big_two) do
- BigDecimal("4.2222")
+ BigDecimal.new("4.2222")
end
let(:array) do
[ big_one, big_two ]
end