spec/every_spec.rb in rufus-scheduler-2.0.16 vs spec/every_spec.rb in rufus-scheduler-2.0.17

- old
+ new

@@ -245,7 +245,15 @@ sleep 4 $exceptions.size.should be > 1 end + + it 'raises on unknown options' do + + lambda { + @s.every '1s', :pool => :party do + end + }.should raise_error(ArgumentError) + end end