fix for rspec 3