Remove deprecated `should_not raise_error(SpecificError)`.

Cf. https://github.com/rspec/rspec-expectations/issues/231
Note that removed lines in `hooks_spec.rb` are redundant.