rspec spews a warning when using raise_error without a specific error; add "RuntimeError" to all of these occurrences.