Fixed specs for rspec 3