address rspec deprecation warning

replace
{ ... }.should_not raise_error(ArgumentError)
with
{ ... }.should_not raise_error