Fixed rspec error