test/unit/plugin/say_test.rb in robut-0.2.1 vs test/unit/plugin/say_test.rb in robut-0.3.0

- old
+ new

@@ -23,6 +23,11 @@ @plugin.handle(Time.now, "@john", "@robut ok don't say stuff") assert_equal [], @plugin.connection.replies assert_equal [], @plugin.system_calls end + def test_strips_bad_chars + @plugin.handle(Time.now, "@john", "@robut say it's time for $%@ more_test 123 p\"") + assert_equal ["say its time for more test 123 p"], @plugin.system_calls + end + end