diff --git a/spec/support/fixtures/pluralize.rb b/spec/support/fixtures/pluralize.rb index 0c70229..3c94e59 100644 --- a/spec/support/fixtures/pluralize.rb +++ b/spec/support/fixtures/pluralize.rb @@ -401,8 +401,7 @@ def self.irregular "criterion" => "criteria", "thesaurus" => "thesauri", "plus" => "plusses", - "virus" => "viruses", - "Swiss" => "Swiss" + "virus" => "viruses" }.freeze end end diff --git a/spec/unit/dry/inflector/pluralize_spec.rb b/spec/unit/dry/inflector/pluralize_spec.rb index fd1ee56..f9615ca 100644 --- a/spec/unit/dry/inflector/pluralize_spec.rb +++ b/spec/unit/dry/inflector/pluralize_spec.rb @@ -16,6 +16,10 @@ Fixtures::Pluralize.pending.each do |singular, plural| pending "missing exception or rule for #{singular} => #{plural}" + + it "fails as expected since it's 'pending' (tip: remove it from pending!)" do + expect(subject.singularize(singular)).to_not eq(plural) + end end it "accepts symbols" do diff --git a/spec/unit/dry/inflector/singularize_spec.rb b/spec/unit/dry/inflector/singularize_spec.rb index 2b5cbc5..39fe771 100644 --- a/spec/unit/dry/inflector/singularize_spec.rb +++ b/spec/unit/dry/inflector/singularize_spec.rb @@ -10,6 +10,10 @@ Fixtures::Singularize.pending.each do |plural, singular| pending "missing exception or rule for #{plural} => #{singular}" + + it "fails as expected since it's 'pending' (tip: remove it from pending!)" do + expect(subject.singularize(plural)).to_not eq(singular) + end end it "accepts symbols" do