rspec allow to raise error