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