fixes rspec exaples