README.md in mongoid-rspec-4.0.0 vs README.md in mongoid-rspec-4.0.1

- old
+ new

@@ -16,11 +16,11 @@ ``` ## Compatibility -This gem is compatible with Mongoid 3, 4, 5 and 6. +This gem is compatible with Mongoid 3, 4, 5, 6 and 7. ## Configuration ### Rails @@ -288,9 +288,10 @@ it { is_expected.to validate_inclusion_of(:locale).to_allow([:en, :ru]) } end RSpec.describe Article do it { is_expected.to validate_length_of(:title).within(8..16) } + it { is_expected.to validate_absence_of(:deletion_date) } end RSpec.describe Visitor do it { is_expected.to validate_length_of(:name).with_maximum(160).with_minimum(1) } end