spec/mongoid/compatibility/object_id_spec.rb in mongoid-compatibility-0.6.0 vs spec/mongoid/compatibility/object_id_spec.rb in mongoid-compatibility-1.0.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
require 'spec_helper'
describe Mongoid::Compatibility::ObjectId do
it 'valid' do
expect(Mongoid::Compatibility::ObjectId.legal?('4e4d66343b39b68407000001')).to be true