fix specs for rspec 3