changed before and after for rspec, because it causes ruby's all snippet to expand