From 7ef8afb1ba39699c622894c3790cdcef524924ec Mon Sep 17 00:00:00 2001 From: Miles Gould Date: Sun, 11 Jan 2015 11:19:12 +0000 Subject: [PATCH] Tests for crop inflections --- spec/features/crops/inflections_spec.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 spec/features/crops/inflections_spec.rb diff --git a/spec/features/crops/inflections_spec.rb b/spec/features/crops/inflections_spec.rb new file mode 100644 index 000000000..93c1f0e24 --- /dev/null +++ b/spec/features/crops/inflections_spec.rb @@ -0,0 +1,13 @@ +require 'spec_helper' + +feature "irregular crop inflections" do + + # We're just testing a couple of representative crops to + # check that inflection works: you don't need to add + # every crop here. + scenario "crops which are mass nouns" do + expect("kale".pluralize).to eq "kale" + expect("broccoli".pluralize).to eq "broccoli" + end + +end