Fixed rspec tests