test/modifier_test.rb in set_builder-1.2.0.beta3 vs test/modifier_test.rb in set_builder-2.0.0.beta1

- old
+ new

@@ -3,15 +3,15 @@ class ModifierTest < ActiveSupport::TestCase include SetBuilder::Modifiers test "get type with string" do - assert_equal StringModifier, SetBuilder::Modifier["String"] + assert_equal StringPreposition, SetBuilder::Modifier["StringPreposition"] end test "get type with symbol" do - assert_equal StringModifier, SetBuilder::Modifier[:string] + assert_equal StringPreposition, SetBuilder::Modifier[:string] end test "registering a modifier" do assert_raises ArgumentError do SetBuilder::Modifier.for(:hash) @@ -85,6 +85,6 @@ def self.operators [:has_key] end -end \ No newline at end of file +end