Fixed specs for Rspec 3