From 04068710bdc560d7136672c3941f0902d0260ba2 Mon Sep 17 00:00:00 2001 From: LFDM <1986gh@gmail.com> Date: Tue, 12 Aug 2014 18:15:32 +0200 Subject: [PATCH] Add spec to check string keys in options --- spec/lib/llt/form_builder/noun_builder_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/lib/llt/form_builder/noun_builder_spec.rb b/spec/lib/llt/form_builder/noun_builder_spec.rb index 746d75a..eb5adfb 100644 --- a/spec/lib/llt/form_builder/noun_builder_spec.rb +++ b/spec/lib/llt/form_builder/noun_builder_spec.rb @@ -122,6 +122,7 @@ def with_noun_options(options) context "with options that select a specfic form given in a stem" do it "returns only forms specified in options" do with_noun_options(numerus: 2).should have(6).items + with_noun_options("numerus" => 2).should have(6).items with_noun_options(casus: 2).should have(2).items with_noun_options(numerus: 1, casus: 2).should have(1).item end